#25107E#25107E
#25107E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.166 H 278.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #25107E |
|---|---|
| RGB | rgb(37, 16, 126) |
| HSL | hsl(251, 77%, 28%) |
| HSV | hsv(251, 87%, 49%) |
| CMYK | cmyk(70.6%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.84, 42.12, -56.92) |
| CIE-LCH | lch(16.84, 70.81, 306.50°) |
| OKLab | oklab(30.23% 0.0244 -0.1644) |
| OKLCH | oklch(30.23% 0.166 278.4) |
| XYZ | xyz(4.7129, 2.2698, 19.9244) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.14
Navy
#000080
ΔE00 3.36
Darkblue
#00008B
ΔE00 3.52
Deep Blue
#040273
ΔE00 3.66
Midnight Blue
#191970
ΔE00 3.67
Royal
#0C1793
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25107E #697E10
analogous
#10327E #25107E #5C107E
triadic
#25107E #7E2510 #107E25
tetradic
#25107E #7E1032 #697E10 #107E5C
square
#25107E #7E1032 #697E10 #107E5C
split-complementary
#25107E #7E5C10 #327E10
monochromatic
#08031B #150948 #25107E #3517B4 #4925E3
Accessibility & contrast
On white
14.44
#25107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#25107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25107E
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25107E | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #25107e; /* rgb */ color: rgb(37, 16, 126); /* oklch */ color: oklch(30.2% 0.166 278.4);
Tailwind
colors: {
custom: {
50: '#6f54a5',
500: '#25107e',
950: '#000000',
},
}SCSS
$custom: #25107e; $custom-light: #6f54a5; $custom-dark: #000000;
JSON
{
"hex": "#25107e",
"rgb": {
"r": 37,
"g": 16,
"b": 126
},
"hsl": {
"h": 251.455,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.3023,
"c": 0.16617,
"h": 278.4
},
"luminance": 0.0227
}Semantic roles & 50–950 ramp
primary
#25107E
secondary
#9CB436
accent
#F434CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F