#25137E#25137E
#25137E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 278.1°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #25137E |
|---|---|
| RGB | rgb(37, 19, 126) |
| HSL | hsl(250, 74%, 28%) |
| HSV | hsv(250, 85%, 49%) |
| CMYK | cmyk(70.6%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(17.30, 40.79, -56.17) |
| CIE-LCH | lch(17.30, 69.41, 305.99°) |
| OKLab | oklab(30.54% 0.0232 -0.1622) |
| OKLCH | oklch(30.54% 0.164 278.1) |
| XYZ | xyz(4.7605, 2.3650, 19.9402) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.30
Indigo (survey)
#380282
ΔE00 3.51
Royal
#0C1793
ΔE00 3.55
Navy
#000080
ΔE00 3.75
Darkblue
#00008B
ΔE00 3.87
Deep Blue
#040273
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25137E #6C7E13
analogous
#13377E #25137E #5A137E
triadic
#25137E #7E2513 #137E25
tetradic
#25137E #7E1337 #6C7E13 #137E5A
square
#25137E #7E1337 #6C7E13 #137E5A
split-complementary
#25137E #7E5A13 #377E13
monochromatic
#08041B #150B49 #25137E #351BB3 #4A2CDF
Accessibility & contrast
On white
14.26
#25137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#25137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25137E
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25137E | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #25137e; /* rgb */ color: rgb(37, 19, 126); /* oklch */ color: oklch(30.5% 0.164 278.1);
Tailwind
colors: {
custom: {
50: '#6f55a5',
500: '#25137e',
950: '#000000',
},
}SCSS
$custom: #25137e; $custom-light: #6f55a5; $custom-dark: #000000;
JSON
{
"hex": "#25137e",
"rgb": {
"r": 37,
"g": 19,
"b": 126
},
"hsl": {
"h": 250.093,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.30541,
"c": 0.16388,
"h": 278.1
},
"luminance": 0.02365
}Semantic roles & 50–950 ramp
primary
#25137E
secondary
#9FB439
accent
#F037D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F