#25117F#25117F
#25117F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.167 H 278.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #25117F |
|---|---|
| RGB | rgb(37, 17, 127) |
| HSL | hsl(251, 76%, 28%) |
| HSV | hsv(251, 87%, 50%) |
| CMYK | cmyk(70.9%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(17.11, 41.99, -57.11) |
| CIE-LCH | lch(17.11, 70.89, 306.33°) |
| OKLab | oklab(30.45% 0.0237 -0.1649) |
| OKLCH | oklch(30.45% 0.167 278.2) |
| XYZ | xyz(4.7929, 2.3261, 20.2710) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.23
Navy
#000080
ΔE00 3.46
Royal
#0C1793
ΔE00 3.53
Darkblue
#00008B
ΔE00 3.55
Midnight Blue
#191970
ΔE00 3.65
Deep Blue
#040273
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25117F #6B7F11
analogous
#11347F #25117F #5C117F
triadic
#25117F #7F2511 #117F25
tetradic
#25117F #7F1134 #6B7F11 #117F5C
square
#25117F #7F1134 #6B7F11 #117F5C
split-complementary
#25117F #7F5C11 #347F11
monochromatic
#08041B #150A49 #25117F #3518B5 #4A28E2
Accessibility & contrast
On white
14.33
#25117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#25117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25117F
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25117F | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #25117f; /* rgb */ color: rgb(37, 17, 127); /* oklch */ color: oklch(30.4% 0.167 278.2);
Tailwind
colors: {
custom: {
50: '#6f54a5',
500: '#25117f',
950: '#000000',
},
}SCSS
$custom: #25117f; $custom-light: #6f54a5; $custom-dark: #000000;
JSON
{
"hex": "#25117f",
"rgb": {
"r": 37,
"g": 17,
"b": 127
},
"hsl": {
"h": 250.909,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.3045,
"c": 0.16663,
"h": 278.2
},
"luminance": 0.02327
}Semantic roles & 50–950 ramp
primary
#25117F
secondary
#9EB537
accent
#F335D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F