#3D2291#3D2291
#3D2291 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.169 H 285.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2291 |
|---|---|
| RGB | rgb(61, 34, 145) |
| HSL | hsl(255, 62%, 35%) |
| HSV | hsv(255, 77%, 57%) |
| CMYK | cmyk(57.9%, 76.6%, 0%, 43.1%) |
| CIE-LAB | lab(24.26, 41.94, -56.53) |
| CIE-LCH | lch(24.26, 70.39, 306.57°) |
| OKLab | oklab(36.57% 0.0456 -0.1628) |
| OKLCH | oklch(36.57% 0.169 285.6) |
| XYZ | xyz(7.6058, 4.1800, 27.1886) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.70
Royal
#0C1793
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.39
Indigo
#4B0082
ΔE00 5.98
Cobalt Blue
#030AA7
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2291 #769122
analogous
#223E91 #3D2291 #752291
triadic
#3D2291 #913D22 #22913D
tetradic
#3D2291 #91223E #769122 #229175
square
#3D2291 #91223E #769122 #229175
split-complementary
#3D2291 #917522 #3E9122
monochromatic
#130B2E #28165F #3D2291 #522EC3 #7556D7
Accessibility & contrast
On white
11.44
#3D2291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3D2291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2291
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2291 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#134158
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3d2291; /* rgb */ color: rgb(61, 34, 145); /* oklch */ color: oklch(36.6% 0.169 285.6);
Tailwind
colors: {
custom: {
50: '#7d60b2',
500: '#3d2291',
950: '#000000',
},
}SCSS
$custom: #3d2291; $custom-light: #7d60b2; $custom-dark: #000000;
JSON
{
"hex": "#3d2291",
"rgb": {
"r": 61,
"g": 34,
"b": 145
},
"hsl": {
"h": 254.595,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.36571,
"c": 0.16903,
"h": 285.6
},
"luminance": 0.0418
}Semantic roles & 50–950 ramp
primary
#3D2291
secondary
#A2BB53
accent
#E543BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980