#3E239F#3E239F
#3E239F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.185 H 283.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3E239F |
|---|---|
| RGB | rgb(62, 35, 159) |
| HSL | hsl(253, 64%, 38%) |
| HSV | hsv(253, 78%, 62%) |
| CMYK | cmyk(61%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(25.95, 45.76, -62.35) |
| CIE-LCH | lch(25.95, 77.34, 306.28°) |
| OKLab | oklab(38.21% 0.0426 -0.1797) |
| OKLCH | oklch(38.21% 0.185 283.3) |
| XYZ | xyz(8.8437, 4.7288, 33.2409) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.94
Royal
#0C1793
ΔE00 5.31
Ultramarine
#2000B1
ΔE00 5.39
Cobalt Blue
#030AA7
ΔE00 5.58
Royal Blue (survey)
#0504AA
ΔE00 5.86
Violet Blue
#510AC9
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E239F #849F23
analogous
#23469F #3E239F #7C239F
triadic
#3E239F #9F3E23 #239F3E
tetradic
#3E239F #9F2346 #849F23 #239F7C
square
#3E239F #9F2346 #849F23 #239F7C
split-complementary
#3E239F #9F7C23 #469F23
monochromatic
#170D3B #2A186D #3E239F #522ED1 #7B60DC
Accessibility & contrast
On white
10.79
#3E239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3E239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E239F
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E239F | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3e239f; /* rgb */ color: rgb(62, 35, 159); /* oklch */ color: oklch(38.2% 0.185 283.3);
Tailwind
colors: {
custom: {
50: '#8062bd',
500: '#3e239f',
950: '#000000',
},
}SCSS
$custom: #3e239f; $custom-light: #8062bd; $custom-dark: #000000;
JSON
{
"hex": "#3e239f",
"rgb": {
"r": 62,
"g": 35,
"b": 159
},
"hsl": {
"h": 253.065,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.38206,
"c": 0.18471,
"h": 283.3
},
"luminance": 0.04729
}Semantic roles & 50–950 ramp
primary
#3E239F
secondary
#ABC15D
accent
#E741C3
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981