#3F207E#3F207E
#3F207E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.148 H 291.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3F207E |
|---|---|
| RGB | rgb(63, 32, 126) |
| HSL | hsl(260, 59%, 31%) |
| HSV | hsv(260, 75%, 49%) |
| CMYK | cmyk(50%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(22.29, 37.65, -47.86) |
| CIE-LCH | lch(22.29, 60.89, 308.19°) |
| OKLab | oklab(34.68% 0.0552 -0.1373) |
| OKLCH | oklch(34.68% 0.148 291.9) |
| XYZ | xyz(6.3312, 3.5959, 20.0951) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.86
Indigo
#4B0082
ΔE00 5.01
Midnight Blue
#191970
ΔE00 5.80
Royal Purple (survey)
#4B006E
ΔE00 6.29
Royal
#0C1793
ΔE00 6.56
Indigo Blue
#3A18B1
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F207E #5F7E20
analogous
#20307E #3F207E #6E207E
triadic
#3F207E #7E3F20 #207E3F
tetradic
#3F207E #7E2030 #5F7E20 #207E6E
square
#3F207E #7E2030 #5F7E20 #207E6E
split-complementary
#3F207E #7E6E20 #307E20
monochromatic
#0E071C #27144D #3F207E #572CAF #7548D0
Accessibility & contrast
On white
12.21
#3F207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3F207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F207E
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F207E | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#2B394D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3f207e; /* rgb */ color: rgb(63, 32, 126); /* oklch */ color: oklch(34.7% 0.148 291.9);
Tailwind
colors: {
custom: {
50: '#7b5ea4',
500: '#3f207e',
950: '#000000',
},
}SCSS
$custom: #3f207e; $custom-light: #7b5ea4; $custom-dark: #000000;
JSON
{
"hex": "#3f207e",
"rgb": {
"r": 63,
"g": 32,
"b": 126
},
"hsl": {
"h": 259.787,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.34678,
"c": 0.14795,
"h": 291.9
},
"luminance": 0.03596
}Semantic roles & 50–950 ramp
primary
#3F207E
secondary
#8FB149
accent
#E345AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F