HSL(274, 95%, 27%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,95%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 95%, 27%) | color: hsl(274, 95%, 27%) | |
| HEX | #4E0386 | color: #4E0386 | |
| RGB | rgb(78, 3, 134) | color: rgb(78, 3, 134) | |
| CMYK | cmyk(42%, 98%, 0%, 47%) | — | |
| HSV | hsv(274, 98%, 53%) | — | |
| HWB | hwb(274 1% 47%) | color: hwb(274 1% 47%) | |
| OKLCH | oklch(0.3489 0.1816 301.79) | color: oklch(0.3489 0.1816 301.79) | |
| Lab | lab(21.6 52.16 -53.96) | color: lab(21.6 52.16 -53.96) | |
| LCH | lch(21.6 75.05 314.03) | color: lch(21.6 75.05 314.03) |
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)
#2E2D66 — rgb(46, 45, 102)
Deuteranopia (Green-blind)
#32385F — rgb(50, 56, 95)
Tritanopia (Blue-blind)
#4A4D48 — rgb(74, 77, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 95%, 27%);
text
color: hsl(274, 95%, 27%);
border
border: 2px solid hsl(274, 95%, 27%);
gradient light
background: linear-gradient(to right, hsl(274, 95%, 47%), hsl(274, 95%, 27%));
gradient dark
background: linear-gradient(to right, hsl(274, 95%, 27%), hsl(274, 95%, 7%))
hex
background-color: #4E0386;
tailwind
bg-[hsl(274,95%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 95%, 27%, 0.4);
css variable
--color-primary: hsl(274, 95%, 27%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 95%, 27%)?
HEX: #4E0386 | RGB: rgb(78, 3, 134) | CMYK: 42%, 98%, 0%, 47% | HSV: 274°, 98%, 53%. Copy any format from the conversion table above.
What colors go well with #4E0386?
The complementary color is HSL(94, 95%, 27%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 95%, 27%) in CSS?
As HSL: color: hsl(274, 95%, 27%); — As HEX: color: #4E0386; — As RGB: color: rgb(78, 3, 134); — Tailwind CSS: bg-[hsl(274,95%,27%)] — CSS variable: --color-primary: hsl(274, 95%, 27%);