#3E107E#3E107E
#3E107E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.164 H 293.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3E107E |
|---|---|
| RGB | rgb(62, 16, 126) |
| HSL | hsl(265, 77%, 28%) |
| HSV | hsv(265, 87%, 49%) |
| CMYK | cmyk(50.8%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(19.64, 44.75, -52.20) |
| CIE-LCH | lch(19.64, 68.76, 310.61°) |
| OKLab | oklab(32.81% 0.0662 -0.1499) |
| OKLCH | oklch(32.81% 0.164 293.8) |
| XYZ | xyz(5.9367, 2.9009, 19.9817) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.06
Indigo
#4B0082
ΔE00 2.66
Royal Purple (survey)
#4B006E
ΔE00 4.56
Midnight Blue
#191970
ΔE00 6.23
Royal
#0C1793
ΔE00 6.28
Darkblue
#00008B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E107E #507E10
analogous
#10197E #3E107E #75107E
triadic
#3E107E #7E3E10 #107E3E
tetradic
#3E107E #7E1019 #507E10 #107E75
square
#3E107E #7E1019 #507E10 #107E75
split-complementary
#3E107E #7E7510 #197E10
monochromatic
#0D031B #230948 #3E107E #5917B4 #7525E3
Accessibility & contrast
On white
13.29
#3E107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#3E107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E107E
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E107E | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#2A3249
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3e107e; /* rgb */ color: rgb(62, 16, 126); /* oklch */ color: oklch(32.8% 0.164 293.8);
Tailwind
colors: {
custom: {
50: '#7b56a4',
500: '#3e107e',
950: '#000000',
},
}SCSS
$custom: #3e107e; $custom-light: #7b56a4; $custom-dark: #000000;
JSON
{
"hex": "#3e107e",
"rgb": {
"r": 62,
"g": 16,
"b": 126
},
"hsl": {
"h": 265.091,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.32805,
"c": 0.16387,
"h": 293.8
},
"luminance": 0.02901
}Semantic roles & 50–950 ramp
primary
#3E107E
secondary
#7FB436
accent
#F434A4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F