#3D209C#3D209C
#3D209C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.184 H 283.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3D209C |
|---|---|
| RGB | rgb(61, 32, 156) |
| HSL | hsl(254, 66%, 37%) |
| HSV | hsv(254, 79%, 61%) |
| CMYK | cmyk(60.9%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(25.03, 46.22, -62.03) |
| CIE-LCH | lch(25.03, 77.36, 306.69°) |
| OKLab | oklab(37.45% 0.0438 -0.1788) |
| OKLCH | oklch(37.45% 0.184 283.8) |
| XYZ | xyz(8.4399, 4.4249, 31.8554) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.03
Royal
#0C1793
ΔE00 4.87
Ultramarine
#2000B1
ΔE00 5.08
Cobalt Blue
#030AA7
ΔE00 5.20
Royal Blue (survey)
#0504AA
ΔE00 5.48
Indigo (survey)
#380282
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D209C #7F9C20
analogous
#20419C #3D209C #7B209C
triadic
#3D209C #9C3D20 #209C3D
tetradic
#3D209C #9C2041 #7F9C20 #209C7B
square
#3D209C #9C2041 #7F9C20 #209C7B
split-complementary
#3D209C #9C7B20 #419C20
monochromatic
#150B36 #291669 #3D209C #512ACF #7859DD
Accessibility & contrast
On white
11.14
#3D209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3D209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D209C
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D209C | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3d209c; /* rgb */ color: rgb(61, 32, 156); /* oklch */ color: oklch(37.4% 0.184 283.8);
Tailwind
colors: {
custom: {
50: '#7f60ba',
500: '#3d209c',
950: '#000000',
},
}SCSS
$custom: #3d209c; $custom-light: #7f60ba; $custom-dark: #000000;
JSON
{
"hex": "#3d209c",
"rgb": {
"r": 61,
"g": 32,
"b": 156
},
"hsl": {
"h": 254.032,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.37448,
"c": 0.18412,
"h": 283.8
},
"luminance": 0.04425
}Semantic roles & 50–950 ramp
primary
#3D209C
secondary
#A8C157
accent
#E93FC1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981