#3F207F#3F207F
#3F207F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.149 H 291.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3F207F |
|---|---|
| RGB | rgb(63, 32, 127) |
| HSL | hsl(260, 60%, 31%) |
| HSV | hsv(260, 75%, 50%) |
| CMYK | cmyk(50.4%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(22.38, 37.94, -48.34) |
| CIE-LCH | lch(22.38, 61.45, 308.13°) |
| OKLab | oklab(34.77% 0.055 -0.1387) |
| OKLCH | oklch(34.77% 0.149 291.6) |
| XYZ | xyz(6.3961, 3.6219, 20.4366) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.81
Indigo
#4B0082
ΔE00 4.99
Midnight Blue
#191970
ΔE00 5.82
Royal Purple (survey)
#4B006E
ΔE00 6.36
Royal
#0C1793
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F207F #607F20
analogous
#20307F #3F207F #6E207F
triadic
#3F207F #7F3F20 #207F3F
tetradic
#3F207F #7F2030 #607F20 #207F6E
square
#3F207F #7F2030 #607F20 #207F6E
split-complementary
#3F207F #7F6E20 #307F20
monochromatic
#0F071D #27144E #3F207F #572CB0 #7548D1
Accessibility & contrast
On white
12.18
#3F207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3F207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F207F
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F207F | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#2A394D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3f207f; /* rgb */ color: rgb(63, 32, 127); /* oklch */ color: oklch(34.8% 0.149 291.6);
Tailwind
colors: {
custom: {
50: '#7b5fa5',
500: '#3f207f',
950: '#000000',
},
}SCSS
$custom: #3f207f; $custom-light: #7b5fa5; $custom-dark: #000000;
JSON
{
"hex": "#3f207f",
"rgb": {
"r": 63,
"g": 32,
"b": 127
},
"hsl": {
"h": 259.579,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.34771,
"c": 0.14917,
"h": 291.6
},
"luminance": 0.03622
}Semantic roles & 50–950 ramp
primary
#3F207F
secondary
#90B249
accent
#E345AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F