HSL(280, 70%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(280,70%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(280, 70%, 35%) | color: hsl(280, 70%, 35%) | |
| HEX | #6E1B98 | color: #6E1B98 | |
| RGB | rgb(110, 27, 152) | color: rgb(110, 27, 152) | |
| CMYK | cmyk(28%, 82%, 0%, 40%) | — | |
| HSV | hsv(280, 82%, 60%) | — | |
| HWB | hwb(280 11% 40%) | color: hwb(280 11% 40%) | |
| OKLCH | oklch(0.4241 0.1894 310.61) | color: oklch(0.4241 0.1894 310.61) | |
| Lab | lab(30.32 54.55 -50.67) | color: lab(30.32 54.55 -50.67) | |
| LCH | lch(30.32 74.45 317.11) | color: lch(30.32 74.45 317.11) |
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)
#4A497A — rgb(74, 73, 122)
Deuteranopia (Green-blind)
#4F5573 — rgb(79, 85, 115)
Tritanopia (Blue-blind)
#6A625D — rgb(106, 98, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(280, 70%, 35%);
text
color: hsl(280, 70%, 35%);
border
border: 2px solid hsl(280, 70%, 35%);
gradient light
background: linear-gradient(to right, hsl(280, 70%, 55%), hsl(280, 70%, 35%));
gradient dark
background: linear-gradient(to right, hsl(280, 70%, 35%), hsl(280, 70%, 15%))
hex
background-color: #6E1B98;
tailwind
bg-[hsl(280,70%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(280, 70%, 35%, 0.4);
css variable
--color-primary: hsl(280, 70%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(280, 70%, 35%)?
HEX: #6E1B98 | RGB: rgb(110, 27, 152) | CMYK: 28%, 82%, 0%, 40% | HSV: 280°, 82%, 60%. Copy any format from the conversion table above.
What colors go well with #6E1B98?
The complementary color is HSL(100, 70%, 35%). For a triadic harmony, use hues 280°, 40°, and 160°. For analogous combinations, try hues 250° and 310°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(280, 70%, 35%) in CSS?
As HSL: color: hsl(280, 70%, 35%); — As HEX: color: #6E1B98; — As RGB: color: rgb(110, 27, 152); — Tailwind CSS: bg-[hsl(280,70%,35%)] — CSS variable: --color-primary: hsl(280, 70%, 35%);