#3D209F#3D209F
#3D209F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.188 H 283.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3D209F |
|---|---|
| RGB | rgb(61, 32, 159) |
| HSL | hsl(254, 66%, 37%) |
| HSV | hsv(254, 80%, 62%) |
| CMYK | cmyk(61.6%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(25.34, 47.10, -63.34) |
| CIE-LCH | lch(25.34, 78.94, 306.63°) |
| OKLab | oklab(37.76% 0.0429 -0.1826) |
| OKLCH | oklch(37.76% 0.188 283.2) |
| XYZ | xyz(8.6970, 4.5277, 33.2098) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.64
Ultramarine
#2000B1
ΔE00 4.89
Royal
#0C1793
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.11
Royal Blue (survey)
#0504AA
ΔE00 5.36
Indigo (survey)
#380282
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D209F #829F20
analogous
#20429F #3D209F #7D209F
triadic
#3D209F #9F3D20 #209F3D
tetradic
#3D209F #9F2042 #829F20 #209F7D
square
#3D209F #9F2042 #829F20 #209F7D
split-complementary
#3D209F #9F7D20 #429F20
monochromatic
#160B39 #29166C #3D209F #512AD2 #795BDE
Accessibility & contrast
On white
11.02
#3D209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3D209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D209F
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D209F | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3d209f; /* rgb */ color: rgb(61, 32, 159); /* oklch */ color: oklch(37.8% 0.188 283.2);
Tailwind
colors: {
custom: {
50: '#7f60bd',
500: '#3d209f',
950: '#000000',
},
}SCSS
$custom: #3d209f; $custom-light: #7f60bd; $custom-dark: #000000;
JSON
{
"hex": "#3d209f",
"rgb": {
"r": 61,
"g": 32,
"b": 159
},
"hsl": {
"h": 253.701,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.37762,
"c": 0.18763,
"h": 283.2
},
"luminance": 0.04528
}Semantic roles & 50–950 ramp
primary
#3D209F
secondary
#AAC259
accent
#E93EC2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981