HSL(258, 30%, 48%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,30%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 30%, 48%) | color: hsl(258, 30%, 48%) | |
| HEX | #6C569F | color: #6C569F | |
| RGB | rgb(108, 86, 159) | color: rgb(108, 86, 159) | |
| CMYK | cmyk(32%, 46%, 0%, 38%) | — | |
| HSV | hsv(258, 46%, 62%) | — | |
| HWB | hwb(258 33% 38%) | color: hwb(258 33% 38%) | |
| OKLCH | oklch(0.5083 0.1142 295.97) | color: oklch(0.5083 0.1142 295.97) | |
| Lab | lab(41.76 25.77 -36.56) | color: lab(41.76 25.77 -36.56) | |
| LCH | lch(41.76 44.73 305.18) | color: lch(41.76 44.73 305.18) |
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)
#62628D — rgb(98, 98, 141)
Deuteranopia (Green-blind)
#646589 — rgb(100, 101, 137)
Tritanopia (Blue-blind)
#6B7F7C — rgb(107, 127, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 30%, 48%);
text
color: hsl(258, 30%, 48%);
border
border: 2px solid hsl(258, 30%, 48%);
gradient light
background: linear-gradient(to right, hsl(258, 30%, 68%), hsl(258, 30%, 48%));
gradient dark
background: linear-gradient(to right, hsl(258, 30%, 48%), hsl(258, 30%, 28%))
hex
background-color: #6C569F;
tailwind
bg-[hsl(258,30%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 30%, 48%, 0.4);
css variable
--color-primary: hsl(258, 30%, 48%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 30%, 48%)?
HEX: #6C569F | RGB: rgb(108, 86, 159) | CMYK: 32%, 46%, 0%, 38% | HSV: 258°, 46%, 62%. Copy any format from the conversion table above.
What colors go well with #6C569F?
The complementary color is HSL(78, 30%, 48%). 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, 30%, 48%) in CSS?
As HSL: color: hsl(258, 30%, 48%); — As HEX: color: #6C569F; — As RGB: color: rgb(108, 86, 159); — Tailwind CSS: bg-[hsl(258,30%,48%)] — CSS variable: --color-primary: hsl(258, 30%, 48%);