#3D2C8D#3D2C8D
#3D2C8D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.152 H 284.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3D2C8D |
|---|---|
| RGB | rgb(61, 44, 141) |
| HSL | hsl(251, 52%, 36%) |
| HSV | hsv(251, 69%, 55%) |
| CMYK | cmyk(56.7%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(25.91, 35.06, -51.35) |
| CIE-LCH | lch(25.91, 62.17, 304.32°) |
| OKLab | oklab(37.63% 0.0378 -0.1476) |
| OKLCH | oklch(37.63% 0.152 284.4) |
| XYZ | xyz(7.6314, 4.7161, 25.7023) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 5.99
Royal
#0C1793
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 6.49
Sapphire (survey)
#2138AB
ΔE00 6.62
Midnight Blue
#191970
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D2C8D #7C8D2C
analogous
#2C4C8D #3D2C8D #6E2C8D
triadic
#3D2C8D #8D3D2C #2C8D3D
tetradic
#3D2C8D #8D2C4C #7C8D2C #2C8D6E
square
#3D2C8D #8D2C4C #7C8D2C #2C8D6E
split-complementary
#3D2C8D #8D6E2C #4C8D2C
monochromatic
#150F30 #291D5E #3D2C8D #513BBC #7765CF
Accessibility & contrast
On white
10.81
#3D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3D2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D2C8D
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D2C8D | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#184558
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3d2c8d; /* rgb */ color: rgb(61, 44, 141); /* oklch */ color: oklch(37.6% 0.152 284.4);
Tailwind
colors: {
custom: {
50: '#7b66af',
500: '#3d2c8d',
950: '#000000',
},
}SCSS
$custom: #3d2c8d; $custom-light: #7b66af; $custom-dark: #000000;
JSON
{
"hex": "#3d2c8d",
"rgb": {
"r": 61,
"g": 44,
"b": 141
},
"hsl": {
"h": 250.515,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.37633,
"c": 0.15239,
"h": 284.4
},
"luminance": 0.04717
}Semantic roles & 50–950 ramp
primary
#3D2C8D
secondary
#A6B560
accent
#DC4CC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F