#26107F#26107F
#26107F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.167 H 278.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #26107F |
|---|---|
| RGB | rgb(38, 16, 127) |
| HSL | hsl(252, 78%, 28%) |
| HSV | hsv(252, 87%, 50%) |
| CMYK | cmyk(70.1%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(17.06, 42.51, -57.20) |
| CIE-LCH | lch(17.06, 71.26, 306.62°) |
| OKLab | oklab(30.44% 0.0256 -0.1652) |
| OKLCH | oklch(30.44% 0.167 278.8) |
| XYZ | xyz(4.8142, 2.3145, 20.2676) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.02
Navy
#000080
ΔE00 3.42
Darkblue
#00008B
ΔE00 3.50
Royal
#0C1793
ΔE00 3.65
Deep Blue
#040273
ΔE00 3.80
Midnight Blue
#191970
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26107F #697F10
analogous
#10317F #26107F #5D107F
triadic
#26107F #7F2610 #107F26
tetradic
#26107F #7F1031 #697F10 #107F5D
square
#26107F #7F1031 #697F10 #107F5D
split-complementary
#26107F #7F5D10 #317F10
monochromatic
#08031B #160949 #26107F #3617B5 #4B26E4
Accessibility & contrast
On white
14.35
#26107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#26107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26107F
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26107F | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #26107f; /* rgb */ color: rgb(38, 16, 127); /* oklch */ color: oklch(30.4% 0.167 278.8);
Tailwind
colors: {
custom: {
50: '#7054a5',
500: '#26107f',
950: '#000000',
},
}SCSS
$custom: #26107f; $custom-light: #7054a5; $custom-dark: #000000;
JSON
{
"hex": "#26107f",
"rgb": {
"r": 38,
"g": 16,
"b": 127
},
"hsl": {
"h": 251.892,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.30435,
"c": 0.16714,
"h": 278.8
},
"luminance": 0.02315
}Semantic roles & 50–950 ramp
primary
#26107F
secondary
#9CB536
accent
#F434CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F