HSL(271, 100%, 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(271,100%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 100%, 13%) | color: hsl(271, 100%, 13%) | |
| HEX | #220042 | color: #220042 | |
| RGB | rgb(34, 0, 66) | color: rgb(34, 0, 66) | |
| CMYK | cmyk(48%, 100%, 0%, 74%) | — | |
| HSV | hsv(271, 100%, 26%) | — | |
| HWB | hwb(271 0% 74%) | color: hwb(271 0% 74%) | |
| OKLCH | oklch(0.2096 0.1118 300.18) | color: oklch(0.2096 0.1118 300.18) | |
| Lab | lab(6.62 31.76 -33.59) | color: lab(6.62 31.76 -33.59) | |
| LCH | lch(6.62 46.23 313.4) | color: lch(6.62 46.23 313.4) |
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)
#131332 — rgb(19, 19, 50)
Deuteranopia (Green-blind)
#15182E — rgb(21, 24, 46)
Tritanopia (Blue-blind)
#202523 — rgb(32, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 100%, 13%);
text
color: hsl(271, 100%, 13%);
border
border: 2px solid hsl(271, 100%, 13%);
gradient light
background: linear-gradient(to right, hsl(271, 100%, 33%), hsl(271, 100%, 13%));
gradient dark
background: linear-gradient(to right, hsl(271, 100%, 13%), hsl(271, 100%, 0%))
hex
background-color: #220042;
tailwind
bg-[hsl(271,100%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 100%, 13%, 0.4);
css variable
--color-primary: hsl(271, 100%, 13%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 100%, 13%)?
HEX: #220042 | RGB: rgb(34, 0, 66) | CMYK: 48%, 100%, 0%, 74% | HSV: 271°, 100%, 26%. Copy any format from the conversion table above.
What colors go well with #220042?
The complementary color is HSL(91, 100%, 13%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 100%, 13%) in CSS?
As HSL: color: hsl(271, 100%, 13%); — As HEX: color: #220042; — As RGB: color: rgb(34, 0, 66); — Tailwind CSS: bg-[hsl(271,100%,13%)] — CSS variable: --color-primary: hsl(271, 100%, 13%);