#291280#291280
#291280 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.166 H 280.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #291280 |
|---|---|
| RGB | rgb(41, 18, 128) |
| HSL | hsl(253, 75%, 29%) |
| HSV | hsv(253, 86%, 50%) |
| CMYK | cmyk(68%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(17.75, 42.21, -56.68) |
| CIE-LCH | lch(17.75, 70.67, 306.67°) |
| OKLab | oklab(31.01% 0.0292 -0.1636) |
| OKLCH | oklch(31.01% 0.166 280.1) |
| XYZ | xyz(5.0258, 2.4621, 20.6283) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.95
Royal
#0C1793
ΔE00 3.62
Darkblue
#00008B
ΔE00 3.86
Midnight Blue
#191970
ΔE00 3.88
Navy
#000080
ΔE00 3.88
Deep Blue
#040273
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291280 #698012
analogous
#123280 #291280 #601280
triadic
#291280 #802912 #128029
tetradic
#291280 #801232 #698012 #128060
square
#291280 #801232 #698012 #128060
split-complementary
#291280 #806012 #328012
monochromatic
#09041B #180A4A #291280 #3A1AB6 #512BE1
Accessibility & contrast
On white
14.07
#291280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#291280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291280
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291280 | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #291280; /* rgb */ color: rgb(41, 18, 128); /* oklch */ color: oklch(31.0% 0.166 280.1);
Tailwind
colors: {
custom: {
50: '#7155a6',
500: '#291280',
950: '#000000',
},
}SCSS
$custom: #291280; $custom-light: #7155a6; $custom-dark: #000000;
JSON
{
"hex": "#291280",
"rgb": {
"r": 41,
"g": 18,
"b": 128
},
"hsl": {
"h": 252.545,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.31011,
"c": 0.16621,
"h": 280.1
},
"luminance": 0.02463
}Semantic roles & 50–950 ramp
primary
#291280
secondary
#9BB638
accent
#F236CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F