HSL(274, 20%, 50%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,20%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 20%, 50%) | color: hsl(274, 20%, 50%) | |
| HEX | #836699 | color: #836699 | |
| RGB | rgb(131, 102, 153) | color: rgb(131, 102, 153) | |
| CMYK | cmyk(14%, 33%, 0%, 40%) | — | |
| HSV | hsv(274, 33%, 60%) | — | |
| HWB | hwb(274 40% 40%) | color: hwb(274 40% 40%) | |
| OKLCH | oklch(0.5585 0.0837 309.84) | color: oklch(0.5585 0.0837 309.84) | |
| Lab | lab(47.79 21.75 -23.4) | color: lab(47.79 21.75 -23.4) | |
| LCH | lch(47.79 31.95 312.91) | color: lch(47.79 31.95 312.91) |
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)
#76768D — rgb(118, 118, 141)
Deuteranopia (Green-blind)
#787A8A — rgb(120, 122, 138)
Tritanopia (Blue-blind)
#828381 — rgb(130, 131, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 20%, 50%);
text
color: hsl(274, 20%, 50%);
border
border: 2px solid hsl(274, 20%, 50%);
gradient light
background: linear-gradient(to right, hsl(274, 20%, 70%), hsl(274, 20%, 50%));
gradient dark
background: linear-gradient(to right, hsl(274, 20%, 50%), hsl(274, 20%, 30%))
hex
background-color: #836699;
tailwind
bg-[hsl(274,20%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 20%, 50%, 0.4);
css variable
--color-primary: hsl(274, 20%, 50%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 20%, 50%)?
HEX: #836699 | RGB: rgb(131, 102, 153) | CMYK: 14%, 33%, 0%, 40% | HSV: 274°, 33%, 60%. Copy any format from the conversion table above.
What colors go well with #836699?
The complementary color is HSL(94, 20%, 50%). 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, 20%, 50%) in CSS?
As HSL: color: hsl(274, 20%, 50%); — As HEX: color: #836699; — As RGB: color: rgb(131, 102, 153); — Tailwind CSS: bg-[hsl(274,20%,50%)] — CSS variable: --color-primary: hsl(274, 20%, 50%);