#3D219F#3D219F
#3D219F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.187 H 283.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3D219F |
|---|---|
| RGB | rgb(61, 33, 159) |
| HSL | hsl(253, 66%, 38%) |
| HSV | hsv(253, 79%, 62%) |
| CMYK | cmyk(61.6%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.51, 46.62, -63.07) |
| CIE-LCH | lch(25.51, 78.43, 306.47°) |
| OKLab | oklab(37.88% 0.0423 -0.1819) |
| OKLCH | oklch(37.88% 0.187 283.1) |
| XYZ | xyz(8.7244, 4.5824, 33.2189) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Ultramarine
#2000B1
ΔE00 5.03
Royal
#0C1793
ΔE00 5.05
Cobalt Blue
#030AA7
ΔE00 5.23
Royal Blue (survey)
#0504AA
ΔE00 5.50
Violet Blue
#510AC9
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D219F #839F21
analogous
#21449F #3D219F #7C219F
triadic
#3D219F #9F3D21 #219F3D
tetradic
#3D219F #9F2144 #839F21 #219F7C
square
#3D219F #9F2144 #839F21 #219F7C
split-complementary
#3D219F #9F7C21 #449F21
monochromatic
#160C3A #2A166C #3D219F #502CD2 #7A5DDD
Accessibility & contrast
On white
10.96
#3D219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3D219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D219F
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D219F | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3d219f; /* rgb */ color: rgb(61, 33, 159); /* oklch */ color: oklch(37.9% 0.187 283.1);
Tailwind
colors: {
custom: {
50: '#7f61bd',
500: '#3d219f',
950: '#000000',
},
}SCSS
$custom: #3d219f; $custom-light: #7f61bd; $custom-dark: #000000;
JSON
{
"hex": "#3d219f",
"rgb": {
"r": 61,
"g": 33,
"b": 159
},
"hsl": {
"h": 253.333,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.37877,
"c": 0.18672,
"h": 283.1
},
"luminance": 0.04583
}Semantic roles & 50–950 ramp
primary
#3D219F
secondary
#ABC25A
accent
#E93FC3
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981