HSL(281, 52%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,52%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 52%, 35%) | color: hsl(281, 52%, 35%) | |
| HEX | #6A2B88 | color: #6A2B88 | |
| RGB | rgb(106, 43, 136) | color: rgb(106, 43, 136) | |
| CMYK | cmyk(22%, 68%, 0%, 47%) | — | |
| HSV | hsv(281, 68%, 53%) | — | |
| HWB | hwb(281 17% 47%) | color: hwb(281 17% 47%) | |
| OKLCH | oklch(0.4226 0.1539 312.86) | color: oklch(0.4226 0.1539 312.86) | |
| Lab | lab(30.81 43.75 -40.05) | color: lab(30.81 43.75 -40.05) | |
| LCH | lch(30.81 59.31 317.53) | color: lch(30.81 59.31 317.53) |
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)
#4F4E71 — rgb(79, 78, 113)
Deuteranopia (Green-blind)
#52576C — rgb(82, 87, 108)
Tritanopia (Blue-blind)
#67605C — rgb(103, 96, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 52%, 35%);
text
color: hsl(281, 52%, 35%);
border
border: 2px solid hsl(281, 52%, 35%);
gradient light
background: linear-gradient(to right, hsl(281, 52%, 55%), hsl(281, 52%, 35%));
gradient dark
background: linear-gradient(to right, hsl(281, 52%, 35%), hsl(281, 52%, 15%))
hex
background-color: #6A2B88;
tailwind
bg-[hsl(281,52%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 52%, 35%, 0.4);
css variable
--color-primary: hsl(281, 52%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 52%, 35%)?
HEX: #6A2B88 | RGB: rgb(106, 43, 136) | CMYK: 22%, 68%, 0%, 47% | HSV: 281°, 68%, 53%. Copy any format from the conversion table above.
What colors go well with #6A2B88?
The complementary color is HSL(101, 52%, 35%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 52%, 35%) in CSS?
As HSL: color: hsl(281, 52%, 35%); — As HEX: color: #6A2B88; — As RGB: color: rgb(106, 43, 136); — Tailwind CSS: bg-[hsl(281,52%,35%)] — CSS variable: --color-primary: hsl(281, 52%, 35%);