HSL(275, 62%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,62%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 62%, 55%) | color: hsl(275, 62%, 55%) | |
| HEX | #9845D3 | color: #9845D3 | |
| RGB | rgb(152, 69, 211) | color: rgb(152, 69, 211) | |
| CMYK | cmyk(28%, 67%, 0%, 17%) | — | |
| HSV | hsv(275, 67%, 83%) | — | |
| HWB | hwb(275 27% 17%) | color: hwb(275 27% 17%) | |
| OKLCH | oklch(0.5645 0.2118 307.77) | color: oklch(0.5645 0.2118 307.77) | |
| Lab | lab(46.49 58.64 -59.11) | color: lab(46.49 58.64 -59.11) | |
| LCH | lch(46.49 83.26 314.77) | color: lch(46.49 83.26 314.77) |
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)
#7473B1 — rgb(116, 115, 177)
Deuteranopia (Green-blind)
#797FA8 — rgb(121, 127, 168)
Tritanopia (Blue-blind)
#949690 — rgb(148, 150, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 62%, 55%);
text
color: hsl(275, 62%, 55%);
border
border: 2px solid hsl(275, 62%, 55%);
gradient light
background: linear-gradient(to right, hsl(275, 62%, 75%), hsl(275, 62%, 55%));
gradient dark
background: linear-gradient(to right, hsl(275, 62%, 55%), hsl(275, 62%, 35%))
hex
background-color: #9845D3;
tailwind
bg-[hsl(275,62%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 62%, 55%, 0.4);
css variable
--color-primary: hsl(275, 62%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 62%, 55%)?
HEX: #9845D3 | RGB: rgb(152, 69, 211) | CMYK: 28%, 67%, 0%, 17% | HSV: 275°, 67%, 83%. Copy any format from the conversion table above.
What colors go well with #9845D3?
The complementary color is HSL(95, 62%, 55%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(275, 62%, 55%) in CSS?
As HSL: color: hsl(275, 62%, 55%); — As HEX: color: #9845D3; — As RGB: color: rgb(152, 69, 211); — Tailwind CSS: bg-[hsl(275,62%,55%)] — CSS variable: --color-primary: hsl(275, 62%, 55%);