#3F209A#3F209A
#3F209A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 285.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3F209A |
|---|---|
| RGB | rgb(63, 32, 154) |
| HSL | hsl(255, 66%, 36%) |
| HSV | hsv(255, 79%, 60%) |
| CMYK | cmyk(59.1%, 79.2%, 0%, 39.6%) |
| CIE-LAB | lab(25.02, 45.88, -60.81) |
| CIE-LCH | lch(25.02, 76.18, 307.03°) |
| OKLab | oklab(37.43% 0.0476 -0.1752) |
| OKLCH | oklch(37.43% 0.182 285.2) |
| XYZ | xyz(8.3974, 4.4224, 30.9767) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.33
Royal
#0C1793
ΔE00 5.08
Ultramarine
#2000B1
ΔE00 5.36
Cobalt Blue
#030AA7
ΔE00 5.49
Indigo (survey)
#380282
ΔE00 5.69
Royal Blue (survey)
#0504AA
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F209A #7B9A20
analogous
#203E9A #3F209A #7C209A
triadic
#3F209A #9A3F20 #209A3F
tetradic
#3F209A #9A203E #7B9A20 #209A7C
square
#3F209A #9A203E #7B9A20 #209A7C
split-complementary
#3F209A #9A7C20 #3E9A20
monochromatic
#160B35 #2A1567 #3F209A #542BCD #7A58DC
Accessibility & contrast
On white
11.14
#3F209A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3F209A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F209A
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F209A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F209A | 1.00 | 11.14 | 1.88 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#0C445D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f209a; /* rgb */ color: rgb(63, 32, 154); /* oklch */ color: oklch(37.4% 0.182 285.2);
Tailwind
colors: {
custom: {
50: '#8060b9',
500: '#3f209a',
950: '#000000',
},
}SCSS
$custom: #3f209a; $custom-light: #8060b9; $custom-dark: #000000;
JSON
{
"hex": "#3f209a",
"rgb": {
"r": 63,
"g": 32,
"b": 154
},
"hsl": {
"h": 255.246,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.37429,
"c": 0.18154,
"h": 285.2
},
"luminance": 0.04423
}Semantic roles & 50–950 ramp
primary
#3F209A
secondary
#A5C056
accent
#E93FBE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981