#3E2095#3E2095
#3E2095 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.176 H 285.7°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2095 |
|---|---|
| RGB | rgb(62, 32, 149) |
| HSL | hsl(255, 65%, 35%) |
| HSV | hsv(255, 79%, 58%) |
| CMYK | cmyk(58.4%, 78.5%, 0%, 41.6%) |
| CIE-LAB | lab(24.41, 44.28, -58.75) |
| CIE-LCH | lch(24.41, 73.57, 307.00°) |
| OKLab | oklab(36.82% 0.0475 -0.1692) |
| OKLCH | oklch(36.82% 0.176 285.7) |
| XYZ | xyz(7.9263, 4.2266, 28.8261) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.01
Royal
#0C1793
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 5.67
Ultramarine
#2000B1
ΔE00 5.74
Indigo
#4B0082
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2095 #779520
analogous
#203C95 #3E2095 #792095
triadic
#3E2095 #953E20 #20953E
tetradic
#3E2095 #95203C #779520 #209579
square
#3E2095 #95203C #779520 #209579
split-complementary
#3E2095 #957920 #3C9520
monochromatic
#140A30 #291563 #3E2095 #532BC7 #7755DA
Accessibility & contrast
On white
11.38
#3E2095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3E2095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2095
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2095 | 1.00 | 11.38 | 1.85 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#11425A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2095; /* rgb */ color: rgb(62, 32, 149); /* oklch */ color: oklch(36.8% 0.176 285.7);
Tailwind
colors: {
custom: {
50: '#7e60b5',
500: '#3e2095',
950: '#000000',
},
}SCSS
$custom: #3e2095; $custom-light: #7e60b5; $custom-dark: #000000;
JSON
{
"hex": "#3e2095",
"rgb": {
"r": 62,
"g": 32,
"b": 149
},
"hsl": {
"h": 255.385,
"s": 64.641,
"l": 35.49
},
"oklch": {
"l": 0.36822,
"c": 0.17576,
"h": 285.7
},
"luminance": 0.04227
}Semantic roles & 50–950 ramp
primary
#3E2095
secondary
#A3BE53
accent
#E840BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980