#26157B#26157B
#26157B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.158 H 279.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #26157B |
|---|---|
| RGB | rgb(38, 21, 123) |
| HSL | hsl(250, 71%, 28%) |
| HSV | hsv(250, 83%, 48%) |
| CMYK | cmyk(69.1%, 82.9%, 0%, 51.8%) |
| CIE-LAB | lab(17.36, 38.97, -54.15) |
| CIE-LCH | lch(17.36, 66.72, 305.74°) |
| OKLab | oklab(30.5% 0.0247 -0.1564) |
| OKLCH | oklch(30.5% 0.158 279) |
| XYZ | xyz(4.6415, 2.3781, 18.9495) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.82
Indigo (survey)
#380282
ΔE00 3.84
Royal
#0C1793
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 4.10
Navy
#000080
ΔE00 4.22
Deep Blue
#040273
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26157B #6A7B15
analogous
#15377B #26157B #59157B
triadic
#26157B #7B2615 #157B26
tetradic
#26157B #7B1537 #6A7B15 #157B59
square
#26157B #7B1537 #6A7B15 #157B59
split-complementary
#26157B #7B5915 #377B15
monochromatic
#08041A #160C47 #26157B #361EAF #4C2FDB
Accessibility & contrast
On white
14.23
#26157B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#26157B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26157B
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26157B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26157B | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #26157b; /* rgb */ color: rgb(38, 21, 123); /* oklch */ color: oklch(30.5% 0.158 279.0);
Tailwind
colors: {
custom: {
50: '#6e56a2',
500: '#26157b',
950: '#000000',
},
}SCSS
$custom: #26157b; $custom-light: #6e56a2; $custom-dark: #000000;
JSON
{
"hex": "#26157b",
"rgb": {
"r": 38,
"g": 21,
"b": 123
},
"hsl": {
"h": 250,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.30501,
"c": 0.15832,
"h": 279
},
"luminance": 0.02378
}Semantic roles & 50–950 ramp
primary
#26157B
secondary
#9DB03B
accent
#EE3AD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F