#3E26A6#3E26A6
#3E26A6 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.190 H 281.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3E26A6 |
|---|---|
| RGB | rgb(62, 38, 166) |
| HSL | hsl(251, 63%, 40%) |
| HSV | hsv(251, 77%, 65%) |
| CMYK | cmyk(62.7%, 77.1%, 0%, 34.9%) |
| CIE-LAB | lab(27.19, 46.35, -64.54) |
| CIE-LCH | lch(27.19, 79.46, 305.69°) |
| OKLab | oklab(39.29% 0.0387 -0.1862) |
| OKLCH | oklch(39.29% 0.19 281.7) |
| XYZ | xyz(9.5605, 5.1628, 36.5617) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Ultramarine
#2000B1
ΔE00 5.61
Violet Blue
#510AC9
ΔE00 5.72
True Blue
#010FCC
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 5.95
Royal
#0C1793
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E26A6 #8EA626
analogous
#264EA6 #3E26A6 #7E26A6
triadic
#3E26A6 #A63E26 #26A63E
tetradic
#3E26A6 #A6264E #8EA626 #26A67E
square
#3E26A6 #A6264E #8EA626 #26A67E
split-complementary
#3E26A6 #A67E26 #4EA626
monochromatic
#190F42 #2B1B74 #3E26A6 #5538D1 #7F6ADD
Accessibility & contrast
On white
10.33
#3E26A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3E26A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E26A6
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E26A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E26A6 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3e26a6; /* rgb */ color: rgb(62, 38, 166); /* oklch */ color: oklch(39.3% 0.190 281.7);
Tailwind
colors: {
custom: {
50: '#8164c2',
500: '#3e26a6',
950: '#000000',
},
}SCSS
$custom: #3e26a6; $custom-light: #8164c2; $custom-dark: #000000;
JSON
{
"hex": "#3e26a6",
"rgb": {
"r": 62,
"g": 38,
"b": 166
},
"hsl": {
"h": 251.25,
"s": 62.745,
"l": 40
},
"oklch": {
"l": 0.39293,
"c": 0.19015,
"h": 281.7
},
"luminance": 0.05164
}Semantic roles & 50–950 ramp
primary
#3E26A6
secondary
#B1C365
accent
#E642C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81