#3D2190#3D2190
#3D2190 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.169 H 286.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2190 |
|---|---|
| RGB | rgb(61, 33, 144) |
| HSL | hsl(255, 63%, 35%) |
| HSV | hsv(255, 77%, 56%) |
| CMYK | cmyk(57.6%, 77.1%, 0%, 43.5%) |
| CIE-LAB | lab(23.98, 42.15, -56.38) |
| CIE-LCH | lch(23.98, 70.39, 306.79°) |
| OKLab | oklab(36.34% 0.0466 -0.1623) |
| OKLCH | oklch(36.34% 0.169 286) |
| XYZ | xyz(7.5008, 4.0930, 26.7749) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.78
Royal
#0C1793
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 5.14
Indigo
#4B0082
ΔE00 5.74
Cobalt Blue
#030AA7
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2190 #749021
analogous
#213D90 #3D2190 #752190
triadic
#3D2190 #903D21 #21903D
tetradic
#3D2190 #90213D #749021 #219075
square
#3D2190 #90213D #749021 #219075
split-complementary
#3D2190 #907521 #3D9021
monochromatic
#130A2C #28165E #3D2190 #522CC2 #7554D8
Accessibility & contrast
On white
11.55
#3D2190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3D2190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2190
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2190 | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#154057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d2190; /* rgb */ color: rgb(61, 33, 144); /* oklch */ color: oklch(36.3% 0.169 286.0);
Tailwind
colors: {
custom: {
50: '#7d60b2',
500: '#3d2190',
950: '#000000',
},
}SCSS
$custom: #3d2190; $custom-light: #7d60b2; $custom-dark: #000000;
JSON
{
"hex": "#3d2190",
"rgb": {
"r": 61,
"g": 33,
"b": 144
},
"hsl": {
"h": 255.135,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.36343,
"c": 0.16887,
"h": 286
},
"luminance": 0.04093
}Semantic roles & 50–950 ramp
primary
#3D2190
secondary
#A1BB51
accent
#E642BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980