#3F20C2#3F20C2
#3F20C2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.7% C 0.227 H 278.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3F20C2 |
|---|---|
| RGB | rgb(63, 32, 194) |
| HSL | hsl(251, 72%, 44%) |
| HSV | hsv(251, 84%, 76%) |
| CMYK | cmyk(67.5%, 83.5%, 0%, 23.9%) |
| CIE-LAB | lab(29.37, 57.34, -77.64) |
| CIE-LCH | lch(29.37, 96.52, 306.45°) |
| OKLab | oklab(41.72% 0.0348 -0.2242) |
| OKLCH | oklch(41.72% 0.227 278.8) |
| XYZ | xyz(12.3009, 5.9838, 51.5352) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.82
Violet Blue
#510AC9
ΔE00 2.87
True Blue
#010FCC
ΔE00 3.77
Ultramarine Blue
#1805DB
ΔE00 3.82
Purple Blue
#5D21D0
ΔE00 4.25
Pure Blue
#0203E2
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F20C2 #A3C220
analogous
#2052C2 #3F20C2 #9020C2
triadic
#3F20C2 #C23F20 #20C23F
tetradic
#3F20C2 #C22052 #A3C220 #20C290
square
#3F20C2 #C22052 #A3C220 #20C290
split-complementary
#3F20C2 #C29020 #52C220
monochromatic
#1D0F59 #2E178D #3F20C2 #5E40DF #8A74E8
Accessibility & contrast
On white
9.56
#3F20C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#3F20C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F20C2
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F20C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F20C2 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BC6
Deuteranopia (green-blind)
#003FBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3f20c2; /* rgb */ color: rgb(63, 32, 194); /* oklch */ color: oklch(41.7% 0.227 278.8);
Tailwind
colors: {
custom: {
50: '#8763d6',
500: '#3f20c2',
950: '#000000',
},
}SCSS
$custom: #3f20c2; $custom-light: #8763d6; $custom-dark: #000000;
JSON
{
"hex": "#3f20c2",
"rgb": {
"r": 63,
"g": 32,
"b": 194
},
"hsl": {
"h": 251.481,
"s": 71.681,
"l": 44.314
},
"oklch": {
"l": 0.41717,
"c": 0.22687,
"h": 278.8
},
"luminance": 0.05985
}Semantic roles & 50–950 ramp
primary
#3F20C2
secondary
#BDCF6F
accent
#EE39CC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83