#3D2290#3D2290
#3D2290 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.168 H 285.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2290 |
|---|---|
| RGB | rgb(61, 34, 144) |
| HSL | hsl(255, 62%, 35%) |
| HSV | hsv(255, 76%, 56%) |
| CMYK | cmyk(57.6%, 76.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.16, 41.64, -56.08) |
| CIE-LCH | lch(24.16, 69.84, 306.59°) |
| OKLab | oklab(36.47% 0.0459 -0.1614) |
| OKLCH | oklch(36.47% 0.168 285.9) |
| XYZ | xyz(7.5290, 4.1493, 26.7843) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.85
Royal
#0C1793
ΔE00 4.99
Indigo (survey)
#380282
ΔE00 5.34
Indigo
#4B0082
ΔE00 5.92
Cobalt Blue
#030AA7
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2290 #759022
analogous
#223E90 #3D2290 #742290
triadic
#3D2290 #903D22 #22903D
tetradic
#3D2290 #90223E #759022 #229074
square
#3D2290 #90223E #759022 #229074
split-complementary
#3D2290 #907422 #3E9022
monochromatic
#130B2D #28165E #3D2290 #522EC2 #7555D7
Accessibility & contrast
On white
11.48
#3D2290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3D2290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2290
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2290 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#154157
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d2290; /* rgb */ color: rgb(61, 34, 144); /* oklch */ color: oklch(36.5% 0.168 285.9);
Tailwind
colors: {
custom: {
50: '#7d60b2',
500: '#3d2290',
950: '#000000',
},
}SCSS
$custom: #3d2290; $custom-light: #7d60b2; $custom-dark: #000000;
JSON
{
"hex": "#3d2290",
"rgb": {
"r": 61,
"g": 34,
"b": 144
},
"hsl": {
"h": 254.727,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.36472,
"c": 0.16782,
"h": 285.9
},
"luminance": 0.0415
}Semantic roles & 50–950 ramp
primary
#3D2290
secondary
#A1BB53
accent
#E543BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980