#3E2195#3E2195
#3E2195 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.175 H 285.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2195 |
|---|---|
| RGB | rgb(62, 33, 149) |
| HSL | hsl(255, 64%, 36%) |
| HSV | hsv(255, 78%, 58%) |
| CMYK | cmyk(58.4%, 77.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.58, 43.78, -58.47) |
| CIE-LCH | lch(24.58, 73.04, 306.83°) |
| OKLab | oklab(36.94% 0.0468 -0.1684) |
| OKLCH | oklch(36.94% 0.175 285.5) |
| XYZ | xyz(7.9536, 4.2813, 28.8352) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Royal
#0C1793
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.45
Cobalt Blue
#030AA7
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 5.87
Indigo
#4B0082
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2195 #789521
analogous
#213E95 #3E2195 #782195
triadic
#3E2195 #953E21 #21953E
tetradic
#3E2195 #95213E #789521 #219578
square
#3E2195 #95213E #789521 #219578
split-complementary
#3E2195 #957821 #3E9521
monochromatic
#140B31 #291663 #3E2195 #532CC7 #7757DA
Accessibility & contrast
On white
11.31
#3E2195 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3E2195 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2195
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2195 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2195 | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#11425A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2195; /* rgb */ color: rgb(62, 33, 149); /* oklch */ color: oklch(36.9% 0.175 285.5);
Tailwind
colors: {
custom: {
50: '#7e60b5',
500: '#3e2195',
950: '#000000',
},
}SCSS
$custom: #3e2195; $custom-light: #7e60b5; $custom-dark: #000000;
JSON
{
"hex": "#3e2195",
"rgb": {
"r": 62,
"g": 33,
"b": 149
},
"hsl": {
"h": 255,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.36943,
"c": 0.17478,
"h": 285.5
},
"luminance": 0.04282
}Semantic roles & 50–950 ramp
primary
#3E2195
secondary
#A3BE54
accent
#E741BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980