HSL(267, 80%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,80%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 80%, 34%) | color: hsl(267, 80%, 34%) | |
| HEX | #50119C | color: #50119C | |
| RGB | rgb(80, 17, 156) | color: rgb(80, 17, 156) | |
| CMYK | cmyk(49%, 89%, 0%, 39%) | — | |
| HSV | hsv(267, 89%, 61%) | — | |
| HWB | hwb(267 7% 39%) | color: hwb(267 7% 39%) | |
| OKLCH | oklch(0.3813 0.1952 295.18) | color: oklch(0.3813 0.1952 295.18) | |
| Lab | lab(25.28 54.18 -61.54) | color: lab(25.28 54.18 -61.54) | |
| LCH | lch(25.28 81.99 311.36) | color: lch(25.28 81.99 311.36) |
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)
#35347A — rgb(53, 52, 122)
Deuteranopia (Green-blind)
#383D72 — rgb(56, 61, 114)
Tritanopia (Blue-blind)
#4D605A — rgb(77, 96, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 80%, 34%);
text
color: hsl(267, 80%, 34%);
border
border: 2px solid hsl(267, 80%, 34%);
gradient light
background: linear-gradient(to right, hsl(267, 80%, 54%), hsl(267, 80%, 34%));
gradient dark
background: linear-gradient(to right, hsl(267, 80%, 34%), hsl(267, 80%, 14%))
hex
background-color: #50119C;
tailwind
bg-[hsl(267,80%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 80%, 34%, 0.4);
css variable
--color-primary: hsl(267, 80%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 80%, 34%)?
HEX: #50119C | RGB: rgb(80, 17, 156) | CMYK: 49%, 89%, 0%, 39% | HSV: 267°, 89%, 61%. Copy any format from the conversion table above.
What colors go well with #50119C?
The complementary color is HSL(87, 80%, 34%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 80%, 34%) in CSS?
As HSL: color: hsl(267, 80%, 34%); — As HEX: color: #50119C; — As RGB: color: rgb(80, 17, 156); — Tailwind CSS: bg-[hsl(267,80%,34%)] — CSS variable: --color-primary: hsl(267, 80%, 34%);