#3E26AB#3E26AB
#3E26AB is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.196 H 281.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3E26AB |
|---|---|
| RGB | rgb(62, 38, 171) |
| HSL | hsl(251, 64%, 41%) |
| HSV | hsv(251, 78%, 67%) |
| CMYK | cmyk(63.7%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(27.71, 47.86, -66.70) |
| CIE-LCH | lch(27.71, 82.10, 305.66°) |
| OKLab | oklab(39.81% 0.0373 -0.1925) |
| OKLCH | oklch(39.81% 0.196 281) |
| XYZ | xyz(10.0281, 5.3499, 39.0244) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.46
Violet Blue
#510AC9
ΔE00 5.20
True Blue
#010FCC
ΔE00 5.42
Ultramarine
#2000B1
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 6.02
Sapphire (survey)
#2138AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E26AB #93AB26
analogous
#2650AB #3E26AB #8026AB
triadic
#3E26AB #AB3E26 #26AB3E
tetradic
#3E26AB #AB2650 #93AB26 #26AB80
square
#3E26AB #AB2650 #93AB26 #26AB80
split-complementary
#3E26AB #AB8026 #50AB26
monochromatic
#1A1047 #2C1B79 #3E26AB #563BD3 #816DDF
Accessibility & contrast
On white
10.14
#3E26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3E26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E26AB
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E26AB | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e26ab; /* rgb */ color: rgb(62, 38, 171); /* oklch */ color: oklch(39.8% 0.196 281.0);
Tailwind
colors: {
custom: {
50: '#8264c5',
500: '#3e26ab',
950: '#000000',
},
}SCSS
$custom: #3e26ab; $custom-light: #8264c5; $custom-dark: #000000;
JSON
{
"hex": "#3e26ab",
"rgb": {
"r": 62,
"g": 38,
"b": 171
},
"hsl": {
"h": 250.827,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.39808,
"c": 0.19608,
"h": 281
},
"luminance": 0.05351
}Semantic roles & 50–950 ramp
primary
#3E26AB
secondary
#B4C568
accent
#E741C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82