#3910E2#3910E2
#3910E2 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.9% C 0.270 H 274.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3910E2 |
|---|---|
| RGB | rgb(57, 16, 226) |
| HSL | hsl(252, 87%, 47%) |
| HSV | hsv(252, 93%, 89%) |
| CMYK | cmyk(74.8%, 92.9%, 0%, 11.4%) |
| CIE-LAB | lab(31.18, 70.35, -93.22) |
| CIE-LCH | lch(31.18, 116.79, 307.04°) |
| OKLab | oklab(43.93% 0.0191 -0.2692) |
| OKLCH | oklch(43.93% 0.27 274.1) |
| XYZ | xyz(15.5956, 6.7298, 72.4138) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Strong Blue
#0C06F7
ΔE00 2.31
Primary Blue
#0804F9
ΔE00 2.47
Pure Blue
#0203E2
ΔE00 2.56
Ultramarine Blue
#1805DB
ΔE00 2.63
Blue
#0000FF
ΔE00 2.96
Rich Blue
#021BF9
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3910E2 #B9E210
analogous
#1050E2 #3910E2 #A210E2
triadic
#3910E2 #E23910 #10E239
tetradic
#3910E2 #E21050 #B9E210 #10E2A2
square
#3910E2 #E21050 #B9E210 #10E2A2
split-complementary
#3910E2 #E2A210 #50E210
monochromatic
#1C0870 #2B0CA9 #3910E2 #613EF1 #9077F5
Accessibility & contrast
On white
8.95
#3910E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#3910E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3910E2
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3910E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3910E2 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052E7
Deuteranopia (green-blind)
#0040DF
Tritanopia (blue-blind)
#005F85
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3910e2; /* rgb */ color: rgb(57, 16, 226); /* oklch */ color: oklch(43.9% 0.270 274.1);
Tailwind
colors: {
custom: {
50: '#8d5fed',
500: '#3910e2',
950: '#000000',
},
}SCSS
$custom: #3910e2; $custom-light: #8d5fed; $custom-dark: #000000;
JSON
{
"hex": "#3910e2",
"rgb": {
"r": 57,
"g": 16,
"b": 226
},
"hsl": {
"h": 251.714,
"s": 86.777,
"l": 47.451
},
"oklch": {
"l": 0.43931,
"c": 0.26986,
"h": 274.1
},
"luminance": 0.06731
}Semantic roles & 50–950 ramp
primary
#3910E2
secondary
#C8DC71
accent
#FD2BD4
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0F0517
muted
#7E7A85