HSL(274, 70%, 26%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,70%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 70%, 26%) | color: hsl(274, 70%, 26%) | |
| HEX | #481471 | color: #481471 | |
| RGB | rgb(72, 20, 113) | color: rgb(72, 20, 113) | |
| CMYK | cmyk(36%, 82%, 0%, 56%) | — | |
| HSV | hsv(274, 82%, 44%) | — | |
| HWB | hwb(274 8% 56%) | color: hwb(274 8% 56%) | |
| OKLCH | oklch(0.332 0.1479 304.61) | color: oklch(0.332 0.1479 304.61) | |
| Lab | lab(20.32 41.44 -42.7) | color: lab(20.32 41.44 -42.7) | |
| LCH | lch(20.32 59.5 314.14) | color: lch(20.32 59.5 314.14) |
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)
#31315A — rgb(49, 49, 90)
Deuteranopia (Green-blind)
#353855 — rgb(53, 56, 85)
Tritanopia (Blue-blind)
#454945 — rgb(69, 73, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 70%, 26%);
text
color: hsl(274, 70%, 26%);
border
border: 2px solid hsl(274, 70%, 26%);
gradient light
background: linear-gradient(to right, hsl(274, 70%, 46%), hsl(274, 70%, 26%));
gradient dark
background: linear-gradient(to right, hsl(274, 70%, 26%), hsl(274, 70%, 6%))
hex
background-color: #481471;
tailwind
bg-[hsl(274,70%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 70%, 26%, 0.4);
css variable
--color-primary: hsl(274, 70%, 26%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 70%, 26%)?
HEX: #481471 | RGB: rgb(72, 20, 113) | CMYK: 36%, 82%, 0%, 56% | HSV: 274°, 82%, 44%. Copy any format from the conversion table above.
What colors go well with #481471?
The complementary color is HSL(94, 70%, 26%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 70%, 26%) in CSS?
As HSL: color: hsl(274, 70%, 26%); — As HEX: color: #481471; — As RGB: color: rgb(72, 20, 113); — Tailwind CSS: bg-[hsl(274,70%,26%)] — CSS variable: --color-primary: hsl(274, 70%, 26%);