HSL(278, 65%, 19%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,65%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 65%, 19%) | color: hsl(278, 65%, 19%) | |
| HEX | #391150 | color: #391150 | |
| RGB | rgb(57, 17, 80) | color: rgb(57, 17, 80) | |
| CMYK | cmyk(29%, 79%, 0%, 69%) | — | |
| HSV | hsv(278, 79%, 31%) | — | |
| HWB | hwb(278 7% 69%) | color: hwb(278 7% 69%) | |
| OKLCH | oklch(0.2785 0.1112 310.06) | color: oklch(0.2785 0.1112 310.06) | |
| Lab | lab(14.68 31.46 -30.06) | color: lab(14.68 31.46 -30.06) | |
| LCH | lch(14.68 43.51 316.3) | color: lch(14.68 43.51 316.3) |
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)
#282741 — rgb(40, 39, 65)
Deuteranopia (Green-blind)
#2A2D3D — rgb(42, 45, 61)
Tritanopia (Blue-blind)
#373532 — rgb(55, 53, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 65%, 19%);
text
color: hsl(278, 65%, 19%);
border
border: 2px solid hsl(278, 65%, 19%);
gradient light
background: linear-gradient(to right, hsl(278, 65%, 39%), hsl(278, 65%, 19%));
gradient dark
background: linear-gradient(to right, hsl(278, 65%, 19%), hsl(278, 65%, 0%))
hex
background-color: #391150;
tailwind
bg-[hsl(278,65%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 65%, 19%, 0.4);
css variable
--color-primary: hsl(278, 65%, 19%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 65%, 19%)?
HEX: #391150 | RGB: rgb(57, 17, 80) | CMYK: 29%, 79%, 0%, 69% | HSV: 278°, 79%, 31%. Copy any format from the conversion table above.
What colors go well with #391150?
The complementary color is HSL(98, 65%, 19%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 65%, 19%) in CSS?
As HSL: color: hsl(278, 65%, 19%); — As HEX: color: #391150; — As RGB: color: rgb(57, 17, 80); — Tailwind CSS: bg-[hsl(278,65%,19%)] — CSS variable: --color-primary: hsl(278, 65%, 19%);