HSL(281, 50%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,50%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 50%, 37%) | color: hsl(281, 50%, 37%) | |
| HEX | #702F8E | color: #702F8E | |
| RGB | rgb(112, 47, 142) | color: rgb(112, 47, 142) | |
| CMYK | cmyk(21%, 67%, 0%, 44%) | — | |
| HSV | hsv(281, 67%, 56%) | — | |
| HWB | hwb(281 18% 44%) | color: hwb(281 18% 44%) | |
| OKLCH | oklch(0.4398 0.1569 313.3) | color: oklch(0.4398 0.1569 313.3) | |
| Lab | lab(32.77 44.6 -40.56) | color: lab(32.77 44.6 -40.56) | |
| LCH | lch(32.77 60.28 317.72) | color: lch(32.77 60.28 317.72) |
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)
#545377 — rgb(84, 83, 119)
Deuteranopia (Green-blind)
#585D72 — rgb(88, 93, 114)
Tritanopia (Blue-blind)
#6D6561 — rgb(109, 101, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 50%, 37%);
text
color: hsl(281, 50%, 37%);
border
border: 2px solid hsl(281, 50%, 37%);
gradient light
background: linear-gradient(to right, hsl(281, 50%, 57%), hsl(281, 50%, 37%));
gradient dark
background: linear-gradient(to right, hsl(281, 50%, 37%), hsl(281, 50%, 17%))
hex
background-color: #702F8E;
tailwind
bg-[hsl(281,50%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 50%, 37%, 0.4);
css variable
--color-primary: hsl(281, 50%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 50%, 37%)?
HEX: #702F8E | RGB: rgb(112, 47, 142) | CMYK: 21%, 67%, 0%, 44% | HSV: 281°, 67%, 56%. Copy any format from the conversion table above.
What colors go well with #702F8E?
The complementary color is HSL(101, 50%, 37%). 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, 50%, 37%) in CSS?
As HSL: color: hsl(281, 50%, 37%); — As HEX: color: #702F8E; — As RGB: color: rgb(112, 47, 142); — Tailwind CSS: bg-[hsl(281,50%,37%)] — CSS variable: --color-primary: hsl(281, 50%, 37%);