#3E137F#3E137F
#3E137F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.163 H 293.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3E137F |
|---|---|
| RGB | rgb(62, 19, 127) |
| HSL | hsl(264, 74%, 29%) |
| HSV | hsv(264, 85%, 50%) |
| CMYK | cmyk(51.2%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(20.13, 43.89, -52.03) |
| CIE-LCH | lch(20.13, 68.07, 310.15°) |
| OKLab | oklab(33.17% 0.0639 -0.1494) |
| OKLCH | oklch(33.17% 0.163 293.2) |
| XYZ | xyz(6.0492, 3.0220, 20.3391) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.38
Indigo
#4B0082
ΔE00 2.95
Royal Purple (survey)
#4B006E
ΔE00 4.87
Midnight Blue
#191970
ΔE00 6.08
Royal
#0C1793
ΔE00 6.10
Darkblue
#00008B
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E137F #547F13
analogous
#131E7F #3E137F #74137F
triadic
#3E137F #7F3E13 #137F3E
tetradic
#3E137F #7F131E #547F13 #137F74
square
#3E137F #7F131E #547F13 #137F74
split-complementary
#3E137F #7F7413 #1E7F13
monochromatic
#0D041B #240B4A #3E137F #581BB4 #742DE0
Accessibility & contrast
On white
13.09
#3E137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3E137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E137F
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E137F | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#29334A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3e137f; /* rgb */ color: rgb(62, 19, 127); /* oklch */ color: oklch(33.2% 0.163 293.2);
Tailwind
colors: {
custom: {
50: '#7b58a5',
500: '#3e137f',
950: '#000000',
},
}SCSS
$custom: #3e137f; $custom-light: #7b58a5; $custom-dark: #000000;
JSON
{
"hex": "#3e137f",
"rgb": {
"r": 62,
"g": 19,
"b": 127
},
"hsl": {
"h": 263.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.33172,
"c": 0.16253,
"h": 293.2
},
"luminance": 0.03022
}Semantic roles & 50–950 ramp
primary
#3E137F
secondary
#83B439
accent
#F137A7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F