#25107F#25107F
#25107F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.167 H 278.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #25107F |
|---|---|
| RGB | rgb(37, 16, 127) |
| HSL | hsl(251, 78%, 28%) |
| HSV | hsv(251, 87%, 50%) |
| CMYK | cmyk(70.9%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(16.97, 42.42, -57.35) |
| CIE-LCH | lch(16.97, 71.33, 306.49°) |
| OKLab | oklab(30.35% 0.024 -0.1656) |
| OKLCH | oklch(30.35% 0.167 278.3) |
| XYZ | xyz(4.7778, 2.2958, 20.2659) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.12
Navy
#000080
ΔE00 3.34
Darkblue
#00008B
ΔE00 3.44
Royal
#0C1793
ΔE00 3.59
Deep Blue
#040273
ΔE00 3.73
Midnight Blue
#191970
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25107F #6A7F10
analogous
#10337F #25107F #5C107F
triadic
#25107F #7F2510 #107F25
tetradic
#25107F #7F1033 #6A7F10 #107F5C
square
#25107F #7F1033 #6A7F10 #107F5C
split-complementary
#25107F #7F5C10 #337F10
monochromatic
#08031B #150949 #25107F #3517B5 #4A26E4
Accessibility & contrast
On white
14.39
#25107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#25107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25107F
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25107F | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #25107f; /* rgb */ color: rgb(37, 16, 127); /* oklch */ color: oklch(30.4% 0.167 278.3);
Tailwind
colors: {
custom: {
50: '#6f54a5',
500: '#25107f',
950: '#000000',
},
}SCSS
$custom: #25107f; $custom-light: #6f54a5; $custom-dark: #000000;
JSON
{
"hex": "#25107f",
"rgb": {
"r": 37,
"g": 16,
"b": 127
},
"hsl": {
"h": 251.351,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.30351,
"c": 0.16736,
"h": 278.3
},
"luminance": 0.02296
}Semantic roles & 50–950 ramp
primary
#25107F
secondary
#9DB536
accent
#F434D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F