HSL(277, 90%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,90%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 90%, 35%) | color: hsl(277, 90%, 35%) | |
| HEX | #6C09AA | color: #6C09AA | |
| RGB | rgb(108, 9, 170) | color: rgb(108, 9, 170) | |
| CMYK | cmyk(36%, 95%, 0%, 33%) | — | |
| HSV | hsv(277, 95%, 67%) | — | |
| HWB | hwb(277 3% 33%) | color: hwb(277 3% 33%) | |
| OKLCH | oklch(0.4269 0.216 305.05) | color: oklch(0.4269 0.216 305.05) | |
| Lab | lab(30.12 62.3 -61.93) | color: lab(30.12 62.3 -61.93) | |
| LCH | lch(30.12 87.84 315.17) | color: lch(30.12 87.84 315.17) |
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)
#414083 — rgb(65, 64, 131)
Deuteranopia (Green-blind)
#474E7A — rgb(71, 78, 122)
Tritanopia (Blue-blind)
#67645E — rgb(103, 100, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 90%, 35%);
text
color: hsl(277, 90%, 35%);
border
border: 2px solid hsl(277, 90%, 35%);
gradient light
background: linear-gradient(to right, hsl(277, 90%, 55%), hsl(277, 90%, 35%));
gradient dark
background: linear-gradient(to right, hsl(277, 90%, 35%), hsl(277, 90%, 15%))
hex
background-color: #6C09AA;
tailwind
bg-[hsl(277,90%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 90%, 35%, 0.4);
css variable
--color-primary: hsl(277, 90%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 90%, 35%)?
HEX: #6C09AA | RGB: rgb(108, 9, 170) | CMYK: 36%, 95%, 0%, 33% | HSV: 277°, 95%, 67%. Copy any format from the conversion table above.
What colors go well with #6C09AA?
The complementary color is HSL(97, 90%, 35%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 90%, 35%) in CSS?
As HSL: color: hsl(277, 90%, 35%); — As HEX: color: #6C09AA; — As RGB: color: rgb(108, 9, 170); — Tailwind CSS: bg-[hsl(277,90%,35%)] — CSS variable: --color-primary: hsl(277, 90%, 35%);