#26127D#26127D
#26127D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.163 H 279.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #26127D |
|---|---|
| RGB | rgb(38, 18, 125) |
| HSL | hsl(251, 75%, 28%) |
| HSV | hsv(251, 86%, 49%) |
| CMYK | cmyk(69.6%, 85.6%, 0%, 51%) |
| CIE-LAB | lab(17.11, 41.03, -55.84) |
| CIE-LCH | lch(17.11, 69.29, 306.31°) |
| OKLab | oklab(30.4% 0.0255 -0.1612) |
| OKLCH | oklch(30.4% 0.163 279) |
| XYZ | xyz(4.7161, 2.3249, 19.5983) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.32
Midnight Blue
#191970
ΔE00 3.39
Navy
#000080
ΔE00 3.71
Royal
#0C1793
ΔE00 3.79
Darkblue
#00008B
ΔE00 3.89
Deep Blue
#040273
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26127D #697D12
analogous
#12337D #26127D #5B127D
triadic
#26127D #7D2612 #127D26
tetradic
#26127D #7D1233 #697D12 #127D5B
square
#26127D #7D1233 #697D12 #127D5B
split-complementary
#26127D #7D5B12 #337D12
monochromatic
#08041B #160A48 #26127D #361AB2 #4B29E0
Accessibility & contrast
On white
14.33
#26127D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#26127D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26127D
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26127D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26127D | 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)
#002E80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #26127d; /* rgb */ color: rgb(38, 18, 125); /* oklch */ color: oklch(30.4% 0.163 279.0);
Tailwind
colors: {
custom: {
50: '#6f55a4',
500: '#26127d',
950: '#000000',
},
}SCSS
$custom: #26127d; $custom-light: #6f55a4; $custom-dark: #000000;
JSON
{
"hex": "#26127d",
"rgb": {
"r": 38,
"g": 18,
"b": 125
},
"hsl": {
"h": 251.215,
"s": 74.825,
"l": 28.039
},
"oklch": {
"l": 0.30398,
"c": 0.16325,
"h": 279
},
"luminance": 0.02325
}Semantic roles & 50–950 ramp
primary
#26127D
secondary
#9CB338
accent
#F136CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F