#3E1FB2#3E1FB2
#3E1FB2 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.8% C 0.210 H 280.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1FB2 |
|---|---|
| RGB | rgb(62, 31, 178) |
| HSL | hsl(253, 70%, 41%) |
| HSV | hsv(253, 83%, 70%) |
| CMYK | cmyk(65.2%, 82.6%, 0%, 30.2%) |
| CIE-LAB | lab(27.35, 53.15, -71.50) |
| CIE-LCH | lch(27.35, 89.09, 306.63°) |
| OKLab | oklab(39.78% 0.0389 -0.2064) |
| OKLCH | oklch(39.78% 0.21 280.7) |
| XYZ | xyz(10.5099, 5.2176, 42.5641) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.20
Violet Blue
#510AC9
ΔE00 3.97
True Blue
#010FCC
ΔE00 4.28
Ultramarine
#2000B1
ΔE00 4.50
Mediumblue
#0000CD
ΔE00 4.80
Ultramarine Blue
#1805DB
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1FB2 #93B21F
analogous
#1F49B2 #3E1FB2 #871FB2
triadic
#3E1FB2 #B23E1F #1FB23E
tetradic
#3E1FB2 #B21F49 #93B21F #1FB287
square
#3E1FB2 #B21F49 #93B21F #1FB287
split-complementary
#3E1FB2 #B2871F #49B21F
monochromatic
#1A0D4A #2C167E #3E1FB2 #5633DB #8167E5
Accessibility & contrast
On white
10.28
#3E1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#3E1FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1FB2
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1FB2 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B6
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e1fb2; /* rgb */ color: rgb(62, 31, 178); /* oklch */ color: oklch(39.8% 0.210 280.7);
Tailwind
colors: {
custom: {
50: '#8461ca',
500: '#3e1fb2',
950: '#000000',
},
}SCSS
$custom: #3e1fb2; $custom-light: #8461ca; $custom-dark: #000000;
JSON
{
"hex": "#3e1fb2",
"rgb": {
"r": 62,
"g": 31,
"b": 178
},
"hsl": {
"h": 252.653,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.39779,
"c": 0.21001,
"h": 280.7
},
"luminance": 0.05218
}Semantic roles & 50–950 ramp
primary
#3E1FB2
secondary
#B4CA63
accent
#ED3BC7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82