HSL(281, 90%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,90%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 90%, 29%) | color: hsl(281, 90%, 29%) | |
| HEX | #62078D | color: #62078D | |
| RGB | rgb(98, 7, 141) | color: rgb(98, 7, 141) | |
| CMYK | cmyk(30%, 95%, 0%, 45%) | — | |
| HSV | hsv(281, 95%, 55%) | — | |
| HWB | hwb(281 3% 45%) | color: hwb(281 3% 45%) | |
| OKLCH | oklch(0.3859 0.1899 309.7) | color: oklch(0.3859 0.1899 309.7) | |
| Lab | lab(25.78 55.33 -51.36) | color: lab(25.78 55.33 -51.36) | |
| LCH | lch(25.78 75.49 317.13) | color: lch(25.78 75.49 317.13) |
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)
#3B3A6D — rgb(59, 58, 109)
Deuteranopia (Green-blind)
#404765 — rgb(64, 71, 101)
Tritanopia (Blue-blind)
#5D534D — rgb(93, 83, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 90%, 29%);
text
color: hsl(281, 90%, 29%);
border
border: 2px solid hsl(281, 90%, 29%);
gradient light
background: linear-gradient(to right, hsl(281, 90%, 49%), hsl(281, 90%, 29%));
gradient dark
background: linear-gradient(to right, hsl(281, 90%, 29%), hsl(281, 90%, 9%))
hex
background-color: #62078D;
tailwind
bg-[hsl(281,90%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 90%, 29%, 0.4);
css variable
--color-primary: hsl(281, 90%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 90%, 29%)?
HEX: #62078D | RGB: rgb(98, 7, 141) | CMYK: 30%, 95%, 0%, 45% | HSV: 281°, 95%, 55%. Copy any format from the conversion table above.
What colors go well with #62078D?
The complementary color is HSL(101, 90%, 29%). 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, 90%, 29%) in CSS?
As HSL: color: hsl(281, 90%, 29%); — As HEX: color: #62078D; — As RGB: color: rgb(98, 7, 141); — Tailwind CSS: bg-[hsl(281,90%,29%)] — CSS variable: --color-primary: hsl(281, 90%, 29%);