#26137F#26137F
#26137F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 278.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #26137F |
|---|---|
| RGB | rgb(38, 19, 127) |
| HSL | hsl(251, 74%, 29%) |
| HSV | hsv(251, 85%, 50%) |
| CMYK | cmyk(70.1%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(17.51, 41.18, -56.46) |
| CIE-LCH | lch(17.51, 69.88, 306.11°) |
| OKLab | oklab(30.74% 0.0244 -0.1631) |
| OKLCH | oklch(30.74% 0.165 278.5) |
| XYZ | xyz(4.8617, 2.4097, 20.2835) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.39
Midnight Blue
#191970
ΔE00 3.47
Royal
#0C1793
ΔE00 3.48
Navy
#000080
ΔE00 3.80
Darkblue
#00008B
ΔE00 3.85
Deep Blue
#040273
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26137F #6C7F13
analogous
#13367F #26137F #5C137F
triadic
#26137F #7F2613 #137F26
tetradic
#26137F #7F1336 #6C7F13 #137F5C
square
#26137F #7F1336 #6C7F13 #137F5C
split-complementary
#26137F #7F5C13 #367F13
monochromatic
#08041B #160B4A #26137F #361BB4 #4C2DE0
Accessibility & contrast
On white
14.17
#26137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#26137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26137F
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26137F | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #26137f; /* rgb */ color: rgb(38, 19, 127); /* oklch */ color: oklch(30.7% 0.165 278.5);
Tailwind
colors: {
custom: {
50: '#6f55a5',
500: '#26137f',
950: '#000000',
},
}SCSS
$custom: #26137f; $custom-light: #6f55a5; $custom-dark: #000000;
JSON
{
"hex": "#26137f",
"rgb": {
"r": 38,
"g": 19,
"b": 127
},
"hsl": {
"h": 250.556,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30742,
"c": 0.16487,
"h": 278.5
},
"luminance": 0.0241
}Semantic roles & 50–950 ramp
primary
#26137F
secondary
#9FB439
accent
#F137D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F