#26107E#26107E
#26107E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.166 H 279.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #26107E |
|---|---|
| RGB | rgb(38, 16, 126) |
| HSL | hsl(252, 77%, 28%) |
| HSV | hsv(252, 87%, 49%) |
| CMYK | cmyk(69.8%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.93, 42.20, -56.77) |
| CIE-LCH | lch(16.93, 70.74, 306.63°) |
| OKLab | oklab(30.31% 0.026 -0.1639) |
| OKLCH | oklch(30.31% 0.166 279) |
| XYZ | xyz(4.7493, 2.2886, 19.9261) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.05
Navy
#000080
ΔE00 3.44
Darkblue
#00008B
ΔE00 3.58
Midnight Blue
#191970
ΔE00 3.73
Deep Blue
#040273
ΔE00 3.74
Royal
#0C1793
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26107E #687E10
analogous
#10317E #26107E #5D107E
triadic
#26107E #7E2610 #107E26
tetradic
#26107E #7E1031 #687E10 #107E5D
square
#26107E #7E1031 #687E10 #107E5D
split-complementary
#26107E #7E5D10 #317E10
monochromatic
#08031B #160948 #26107E #3617B4 #4B25E3
Accessibility & contrast
On white
14.41
#26107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#26107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26107E
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26107E | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #26107e; /* rgb */ color: rgb(38, 16, 126); /* oklch */ color: oklch(30.3% 0.166 279.0);
Tailwind
colors: {
custom: {
50: '#6f54a5',
500: '#26107e',
950: '#000000',
},
}SCSS
$custom: #26107e; $custom-light: #6f54a5; $custom-dark: #000000;
JSON
{
"hex": "#26107e",
"rgb": {
"r": 38,
"g": 16,
"b": 126
},
"hsl": {
"h": 252,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.30314,
"c": 0.16595,
"h": 279
},
"luminance": 0.02289
}Semantic roles & 50–950 ramp
primary
#26107E
secondary
#9BB436
accent
#F434CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F