HSL(268, 70%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,70%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 70%, 35%) | color: hsl(268, 70%, 35%) | |
| HEX | #551B98 | color: #551B98 | |
| RGB | rgb(85, 27, 152) | color: rgb(85, 27, 152) | |
| CMYK | cmyk(44%, 82%, 0%, 40%) | — | |
| HSV | hsv(268, 82%, 60%) | — | |
| HWB | hwb(268 11% 40%) | color: hwb(268 11% 40%) | |
| OKLCH | oklch(0.3912 0.1841 298) | color: oklch(0.3912 0.1841 298) | |
| Lab | lab(26.68 50.51 -56.76) | color: lab(26.68 50.51 -56.76) | |
| LCH | lch(26.68 75.98 311.67) | color: lch(26.68 75.98 311.67) |
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)
#3C3B7A — rgb(60, 59, 122)
Deuteranopia (Green-blind)
#3F4473 — rgb(63, 68, 115)
Tritanopia (Blue-blind)
#52625D — rgb(82, 98, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 70%, 35%);
text
color: hsl(268, 70%, 35%);
border
border: 2px solid hsl(268, 70%, 35%);
gradient light
background: linear-gradient(to right, hsl(268, 70%, 55%), hsl(268, 70%, 35%));
gradient dark
background: linear-gradient(to right, hsl(268, 70%, 35%), hsl(268, 70%, 15%))
hex
background-color: #551B98;
tailwind
bg-[hsl(268,70%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 70%, 35%, 0.4);
css variable
--color-primary: hsl(268, 70%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 70%, 35%)?
HEX: #551B98 | RGB: rgb(85, 27, 152) | CMYK: 44%, 82%, 0%, 40% | HSV: 268°, 82%, 60%. Copy any format from the conversion table above.
What colors go well with #551B98?
The complementary color is HSL(88, 70%, 35%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 70%, 35%) in CSS?
As HSL: color: hsl(268, 70%, 35%); — As HEX: color: #551B98; — As RGB: color: rgb(85, 27, 152); — Tailwind CSS: bg-[hsl(268,70%,35%)] — CSS variable: --color-primary: hsl(268, 70%, 35%);