HSL(282, 55%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,55%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 55%, 35%) | color: hsl(282, 55%, 35%) | |
| HEX | #6D288A | color: #6D288A | |
| RGB | rgb(109, 40, 138) | color: rgb(109, 40, 138) | |
| CMYK | cmyk(21%, 71%, 0%, 46%) | — | |
| HSV | hsv(282, 71%, 54%) | — | |
| HWB | hwb(282 16% 46%) | color: hwb(282 16% 46%) | |
| OKLCH | oklch(0.4245 0.1612 314.04) | color: oklch(0.4245 0.1612 314.04) | |
| Lab | lab(30.89 46.28 -41.14) | color: lab(30.89 46.28 -41.14) | |
| LCH | lch(30.89 61.92 318.36) | color: lch(30.89 61.92 318.36) |
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)
#4F4F72 — rgb(79, 79, 114)
Deuteranopia (Green-blind)
#53586D — rgb(83, 88, 109)
Tritanopia (Blue-blind)
#6A605B — rgb(106, 96, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 55%, 35%);
text
color: hsl(282, 55%, 35%);
border
border: 2px solid hsl(282, 55%, 35%);
gradient light
background: linear-gradient(to right, hsl(282, 55%, 55%), hsl(282, 55%, 35%));
gradient dark
background: linear-gradient(to right, hsl(282, 55%, 35%), hsl(282, 55%, 15%))
hex
background-color: #6D288A;
tailwind
bg-[hsl(282,55%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 55%, 35%, 0.4);
css variable
--color-primary: hsl(282, 55%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 55%, 35%)?
HEX: #6D288A | RGB: rgb(109, 40, 138) | CMYK: 21%, 71%, 0%, 46% | HSV: 282°, 71%, 54%. Copy any format from the conversion table above.
What colors go well with #6D288A?
The complementary color is HSL(102, 55%, 35%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 55%, 35%) in CSS?
As HSL: color: hsl(282, 55%, 35%); — As HEX: color: #6D288A; — As RGB: color: rgb(109, 40, 138); — Tailwind CSS: bg-[hsl(282,55%,35%)] — CSS variable: --color-primary: hsl(282, 55%, 35%);