HSL(258, 20%, 46%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,20%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 20%, 46%) | color: hsl(258, 20%, 46%) | |
| HEX | #6C5E8D | color: #6C5E8D | |
| RGB | rgb(108, 94, 141) | color: rgb(108, 94, 141) | |
| CMYK | cmyk(23%, 33%, 0%, 45%) | — | |
| HSV | hsv(258, 33%, 55%) | — | |
| HWB | hwb(258 37% 45%) | color: hwb(258 37% 45%) | |
| OKLCH | oklch(0.5144 0.0746 297.4) | color: oklch(0.5144 0.0746 297.4) | |
| Lab | lab(42.94 16.12 -23.93) | color: lab(42.94 16.12 -23.93) | |
| LCH | lch(42.94 28.85 303.97) | color: lch(42.94 28.85 303.97) |
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)
#666682 — rgb(102, 102, 130)
Deuteranopia (Green-blind)
#67687F — rgb(103, 104, 127)
Tritanopia (Blue-blind)
#6B7977 — rgb(107, 121, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 20%, 46%);
text
color: hsl(258, 20%, 46%);
border
border: 2px solid hsl(258, 20%, 46%);
gradient light
background: linear-gradient(to right, hsl(258, 20%, 66%), hsl(258, 20%, 46%));
gradient dark
background: linear-gradient(to right, hsl(258, 20%, 46%), hsl(258, 20%, 26%))
hex
background-color: #6C5E8D;
tailwind
bg-[hsl(258,20%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 20%, 46%, 0.4);
css variable
--color-primary: hsl(258, 20%, 46%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 20%, 46%)?
HEX: #6C5E8D | RGB: rgb(108, 94, 141) | CMYK: 23%, 33%, 0%, 45% | HSV: 258°, 33%, 55%. Copy any format from the conversion table above.
What colors go well with #6C5E8D?
The complementary color is HSL(78, 20%, 46%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 20%, 46%) in CSS?
As HSL: color: hsl(258, 20%, 46%); — As HEX: color: #6C5E8D; — As RGB: color: rgb(108, 94, 141); — Tailwind CSS: bg-[hsl(258,20%,46%)] — CSS variable: --color-primary: hsl(258, 20%, 46%);