#3F209C#3F209C
#3F209C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.184 H 284.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F209C |
|---|---|
| RGB | rgb(63, 32, 156) |
| HSL | hsl(255, 66%, 37%) |
| HSV | hsv(255, 79%, 61%) |
| CMYK | cmyk(59.6%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(25.23, 46.46, -61.70) |
| CIE-LCH | lch(25.23, 77.23, 306.98°) |
| OKLab | oklab(37.64% 0.0469 -0.1778) |
| OKLCH | oklch(37.64% 0.184 284.8) |
| XYZ | xyz(8.5653, 4.4895, 31.8613) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.06
Royal
#0C1793
ΔE00 5.13
Ultramarine
#2000B1
ΔE00 5.21
Cobalt Blue
#030AA7
ΔE00 5.40
Royal Blue (survey)
#0504AA
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F209C #7D9C20
analogous
#203F9C #3F209C #7D209C
triadic
#3F209C #9C3F20 #209C3F
tetradic
#3F209C #9C203F #7D9C20 #209C7D
square
#3F209C #9C203F #7D9C20 #209C7D
split-complementary
#3F209C #9C7D20 #3F9C20
monochromatic
#160B36 #2A1669 #3F209C #542ACF #7A59DD
Accessibility & contrast
On white
11.06
#3F209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3F209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F209C
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F209C | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#06445E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f209c; /* rgb */ color: rgb(63, 32, 156); /* oklch */ color: oklch(37.6% 0.184 284.8);
Tailwind
colors: {
custom: {
50: '#8060ba',
500: '#3f209c',
950: '#000000',
},
}SCSS
$custom: #3f209c; $custom-light: #8060ba; $custom-dark: #000000;
JSON
{
"hex": "#3f209c",
"rgb": {
"r": 63,
"g": 32,
"b": 156
},
"hsl": {
"h": 255,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.37635,
"c": 0.18387,
"h": 284.8
},
"luminance": 0.0449
}Semantic roles & 50–950 ramp
primary
#3F209C
secondary
#A6C157
accent
#E93FBE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981