#29107F#29107F
#29107F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.167 H 280.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #29107F |
|---|---|
| RGB | rgb(41, 16, 127) |
| HSL | hsl(254, 78%, 28%) |
| HSV | hsv(254, 87%, 50%) |
| CMYK | cmyk(67.7%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(17.34, 42.76, -56.72) |
| CIE-LCH | lch(17.34, 71.04, 307.01°) |
| OKLab | oklab(30.7% 0.0305 -0.1637) |
| OKLCH | oklch(30.7% 0.167 280.5) |
| XYZ | xyz(4.9293, 2.3739, 20.2730) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.73
Navy
#000080
ΔE00 3.67
Darkblue
#00008B
ΔE00 3.73
Royal
#0C1793
ΔE00 3.85
Midnight Blue
#191970
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29107F #667F10
analogous
#102E7F #29107F #61107F
triadic
#29107F #7F2910 #107F29
tetradic
#29107F #7F102E #667F10 #107F61
square
#29107F #7F102E #667F10 #107F61
split-complementary
#29107F #7F6110 #2E7F10
monochromatic
#09031B #170949 #29107F #3B17B5 #5126E4
Accessibility & contrast
On white
14.24
#29107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#29107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29107F
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29107F | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #29107f; /* rgb */ color: rgb(41, 16, 127); /* oklch */ color: oklch(30.7% 0.167 280.5);
Tailwind
colors: {
custom: {
50: '#7154a5',
500: '#29107f',
950: '#000000',
},
}SCSS
$custom: #29107f; $custom-light: #7154a5; $custom-dark: #000000;
JSON
{
"hex": "#29107f",
"rgb": {
"r": 41,
"g": 16,
"b": 127
},
"hsl": {
"h": 253.514,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.30697,
"c": 0.16652,
"h": 280.5
},
"luminance": 0.02374
}Semantic roles & 50–950 ramp
primary
#29107F
secondary
#98B536
accent
#F434C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F