HSL(278, 76%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,76%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 76%, 35%) | color: hsl(278, 76%, 35%) | |
| HEX | #6B159D | color: #6B159D | |
| RGB | rgb(107, 21, 157) | color: rgb(107, 21, 157) | |
| CMYK | cmyk(32%, 87%, 0%, 38%) | — | |
| HSV | hsv(278, 87%, 62%) | — | |
| HWB | hwb(278 8% 38%) | color: hwb(278 8% 38%) | |
| OKLCH | oklch(0.4198 0.198 307.97) | color: oklch(0.4198 0.198 307.97) | |
| Lab | lab(29.65 56.91 -54.83) | color: lab(29.65 56.91 -54.83) | |
| LCH | lch(29.65 79.03 316.07) | color: lch(29.65 79.03 316.07) |
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)
#46457C — rgb(70, 69, 124)
Deuteranopia (Green-blind)
#4B5174 — rgb(75, 81, 116)
Tritanopia (Blue-blind)
#67625C — rgb(103, 98, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 76%, 35%);
text
color: hsl(278, 76%, 35%);
border
border: 2px solid hsl(278, 76%, 35%);
gradient light
background: linear-gradient(to right, hsl(278, 76%, 55%), hsl(278, 76%, 35%));
gradient dark
background: linear-gradient(to right, hsl(278, 76%, 35%), hsl(278, 76%, 15%))
hex
background-color: #6B159D;
tailwind
bg-[hsl(278,76%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 76%, 35%, 0.4);
css variable
--color-primary: hsl(278, 76%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 76%, 35%)?
HEX: #6B159D | RGB: rgb(107, 21, 157) | CMYK: 32%, 87%, 0%, 38% | HSV: 278°, 87%, 62%. Copy any format from the conversion table above.
What colors go well with #6B159D?
The complementary color is HSL(98, 76%, 35%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 76%, 35%) in CSS?
As HSL: color: hsl(278, 76%, 35%); — As HEX: color: #6B159D; — As RGB: color: rgb(107, 21, 157); — Tailwind CSS: bg-[hsl(278,76%,35%)] — CSS variable: --color-primary: hsl(278, 76%, 35%);