#3D2C85#3D2C85
#3D2C85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.142 H 285.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2C85 |
|---|---|
| RGB | rgb(61, 44, 133) |
| HSL | hsl(251, 50%, 35%) |
| HSV | hsv(251, 67%, 52%) |
| CMYK | cmyk(54.1%, 66.9%, 0%, 47.8%) |
| CIE-LAB | lab(25.22, 32.49, -47.49) |
| CIE-LCH | lch(25.22, 57.54, 304.38°) |
| OKLab | oklab(36.92% 0.0389 -0.1363) |
| OKLCH | oklch(36.92% 0.142 285.9) |
| XYZ | xyz(7.0575, 4.4866, 22.6799) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.92
Blueberry
#464196
ΔE00 6.24
Midnight Blue
#191970
ΔE00 6.66
Royal
#0C1793
ΔE00 7.00
Sapphire (survey)
#2138AB
ΔE00 7.59
Indigo Blue
#3A18B1
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2C85 #74852C
analogous
#2C4785 #3D2C85 #6A2C85
triadic
#3D2C85 #853D2C #2C853D
tetradic
#3D2C85 #852C47 #74852C #2C856A
square
#3D2C85 #852C47 #74852C #2C856A
split-complementary
#3D2C85 #856A2C #47852C
monochromatic
#130E29 #281D57 #3D2C85 #523BB3 #7561CB
Accessibility & contrast
On white
11.07
#3D2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3D2C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2C85
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2C85 | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#204254
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3d2c85; /* rgb */ color: rgb(61, 44, 133); /* oklch */ color: oklch(36.9% 0.142 285.9);
Tailwind
colors: {
custom: {
50: '#7a66a9',
500: '#3d2c85',
950: '#000000',
},
}SCSS
$custom: #3d2c85; $custom-light: #7a66a9; $custom-dark: #000000;
JSON
{
"hex": "#3d2c85",
"rgb": {
"r": 61,
"g": 44,
"b": 133
},
"hsl": {
"h": 251.461,
"s": 50.282,
"l": 34.706
},
"oklch": {
"l": 0.36919,
"c": 0.14173,
"h": 285.9
},
"luminance": 0.04487
}Semantic roles & 50–950 ramp
primary
#3D2C85
secondary
#A1B15C
accent
#DA4EBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F