HSL(281, 94%, 13%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,94%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 94%, 13%) | color: hsl(281, 94%, 13%) | |
| HEX | #2D0240 | color: #2D0240 | |
| RGB | rgb(45, 2, 64) | color: rgb(45, 2, 64) | |
| CMYK | cmyk(30%, 97%, 0%, 75%) | — | |
| HSV | hsv(282, 97%, 25%) | — | |
| HWB | hwb(282 1% 75%) | color: hwb(282 1% 75%) | |
| OKLCH | oklch(0.2282 0.1095 312.14) | color: oklch(0.2282 0.1095 312.14) | |
| Lab | lab(8.75 32.02 -28.61) | color: lab(8.75 32.02 -28.61) | |
| LCH | lch(8.75 42.94 318.22) | color: lch(8.75 42.94 318.22) |
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)
#1A1A31 — rgb(26, 26, 49)
Deuteranopia (Green-blind)
#1D202D — rgb(29, 32, 45)
Tritanopia (Blue-blind)
#2B2523 — rgb(43, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 94%, 13%);
text
color: hsl(281, 94%, 13%);
border
border: 2px solid hsl(281, 94%, 13%);
gradient light
background: linear-gradient(to right, hsl(281, 94%, 33%), hsl(281, 94%, 13%));
gradient dark
background: linear-gradient(to right, hsl(281, 94%, 13%), hsl(281, 94%, 0%))
hex
background-color: #2D0240;
tailwind
bg-[hsl(281,94%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 94%, 13%, 0.4);
css variable
--color-primary: hsl(281, 94%, 13%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 94%, 13%)?
HEX: #2D0240 | RGB: rgb(45, 2, 64) | CMYK: 30%, 97%, 0%, 75% | HSV: 282°, 97%, 25%. Copy any format from the conversion table above.
What colors go well with #2D0240?
The complementary color is HSL(101, 94%, 13%). 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, 94%, 13%) in CSS?
As HSL: color: hsl(281, 94%, 13%); — As HEX: color: #2D0240; — As RGB: color: rgb(45, 2, 64); — Tailwind CSS: bg-[hsl(281,94%,13%)] — CSS variable: --color-primary: hsl(281, 94%, 13%);