HSL(282, 54%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,54%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 54%, 34%) | color: hsl(282, 54%, 34%) | |
| HEX | #692886 | color: #692886 | |
| RGB | rgb(105, 40, 134) | color: rgb(105, 40, 134) | |
| CMYK | cmyk(22%, 70%, 0%, 47%) | — | |
| HSV | hsv(281, 70%, 53%) | — | |
| HWB | hwb(281 16% 47%) | color: hwb(281 16% 47%) | |
| OKLCH | oklch(0.4162 0.1556 313.46) | color: oklch(0.4162 0.1556 313.46) | |
| Lab | lab(30.02 44.48 -40.09) | color: lab(30.02 44.48 -40.09) | |
| LCH | lch(30.02 59.88 317.97) | color: lch(30.02 59.88 317.97) |
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)
#4D4C6F — rgb(77, 76, 111)
Deuteranopia (Green-blind)
#51566A — rgb(81, 86, 106)
Tritanopia (Blue-blind)
#665D59 — rgb(102, 93, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 54%, 34%);
text
color: hsl(282, 54%, 34%);
border
border: 2px solid hsl(282, 54%, 34%);
gradient light
background: linear-gradient(to right, hsl(282, 54%, 54%), hsl(282, 54%, 34%));
gradient dark
background: linear-gradient(to right, hsl(282, 54%, 34%), hsl(282, 54%, 14%))
hex
background-color: #692886;
tailwind
bg-[hsl(282,54%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 54%, 34%, 0.4);
css variable
--color-primary: hsl(282, 54%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 54%, 34%)?
HEX: #692886 | RGB: rgb(105, 40, 134) | CMYK: 22%, 70%, 0%, 47% | HSV: 281°, 70%, 53%. Copy any format from the conversion table above.
What colors go well with #692886?
The complementary color is HSL(102, 54%, 34%). 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, 54%, 34%) in CSS?
As HSL: color: hsl(282, 54%, 34%); — As HEX: color: #692886; — As RGB: color: rgb(105, 40, 134); — Tailwind CSS: bg-[hsl(282,54%,34%)] — CSS variable: --color-primary: hsl(282, 54%, 34%);