#3F209E#3F209E
#3F209E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.186 H 284.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3F209E |
|---|---|
| RGB | rgb(63, 32, 158) |
| HSL | hsl(255, 66%, 37%) |
| HSV | hsv(255, 80%, 62%) |
| CMYK | cmyk(60.1%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(25.44, 47.04, -62.58) |
| CIE-LCH | lch(25.44, 78.29, 306.94°) |
| OKLab | oklab(37.84% 0.0463 -0.1803) |
| OKLCH | oklch(37.84% 0.186 284.4) |
| XYZ | xyz(8.7361, 4.5578, 32.7605) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.80
Ultramarine
#2000B1
ΔE00 5.07
Royal
#0C1793
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.33
Royal Blue (survey)
#0504AA
ΔE00 5.58
Indigo (survey)
#380282
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F209E #7F9E20
analogous
#20409E #3F209E #7E209E
triadic
#3F209E #9E3F20 #209E3F
tetradic
#3F209E #9E2040 #7F9E20 #209E7E
square
#3F209E #9E2040 #7F9E20 #209E7E
split-complementary
#3F209E #9E7E20 #409E20
monochromatic
#160B38 #2B166B #3F209E #532AD1 #7B5BDE
Accessibility & contrast
On white
10.99
#3F209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3F209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F209E
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F209E | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#01455F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f209e; /* rgb */ color: rgb(63, 32, 158); /* oklch */ color: oklch(37.8% 0.186 284.4);
Tailwind
colors: {
custom: {
50: '#8060bc',
500: '#3f209e',
950: '#000000',
},
}SCSS
$custom: #3f209e; $custom-light: #8060bc; $custom-dark: #000000;
JSON
{
"hex": "#3f209e",
"rgb": {
"r": 63,
"g": 32,
"b": 158
},
"hsl": {
"h": 254.762,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.37842,
"c": 0.1862,
"h": 284.4
},
"luminance": 0.04558
}Semantic roles & 50–950 ramp
primary
#3F209E
secondary
#A8C258
accent
#E93FBF
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981