HSL(283, 65%, 21%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(283,65%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 65%, 21%) | color: hsl(283, 65%, 21%) | |
| HEX | #451358 | color: #451358 | |
| RGB | rgb(69, 19, 88) | color: rgb(69, 19, 88) | |
| CMYK | cmyk(22%, 78%, 0%, 65%) | — | |
| HSV | hsv(283, 78%, 35%) | — | |
| HWB | hwb(283 8% 65%) | color: hwb(283 8% 65%) | |
| OKLCH | oklch(0.3055 0.1218 314.86) | color: oklch(0.3055 0.1218 314.86) | |
| Lab | lab(17.63 35.25 -30.63) | color: lab(17.63 35.25 -30.63) | |
| LCH | lch(17.63 46.7 319.01) | color: lch(17.63 46.7 319.01) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#2F2F47 — rgb(47, 47, 71)
Deuteranopia (Green-blind)
#323643 — rgb(50, 54, 67)
Tritanopia (Blue-blind)
#433A37 — rgb(67, 58, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 65%, 21%);
text
color: hsl(283, 65%, 21%);
border
border: 2px solid hsl(283, 65%, 21%);
gradient light
background: linear-gradient(to right, hsl(283, 65%, 41%), hsl(283, 65%, 21%));
gradient dark
background: linear-gradient(to right, hsl(283, 65%, 21%), hsl(283, 65%, 1%))
hex
background-color: #451358;
tailwind
bg-[hsl(283,65%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 65%, 21%, 0.4);
css variable
--color-primary: hsl(283, 65%, 21%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 65%, 21%)?
HEX: #451358 | RGB: rgb(69, 19, 88) | CMYK: 22%, 78%, 0%, 65% | HSV: 283°, 78%, 35%. Copy any format from the conversion table above.
What colors go well with #451358?
The complementary color is HSL(103, 65%, 21%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 65%, 21%) in CSS?
As HSL: color: hsl(283, 65%, 21%); — As HEX: color: #451358; — As RGB: color: rgb(69, 19, 88); — Tailwind CSS: bg-[hsl(283,65%,21%)] — CSS variable: --color-primary: hsl(283, 65%, 21%);