#3F208F#3F208F
#3F208F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.169 H 287.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3F208F |
|---|---|
| RGB | rgb(63, 32, 143) |
| HSL | hsl(257, 63%, 34%) |
| HSV | hsv(257, 78%, 56%) |
| CMYK | cmyk(55.9%, 77.6%, 0%, 43.9%) |
| CIE-LAB | lab(23.91, 42.65, -55.86) |
| CIE-LCH | lch(23.91, 70.28, 307.36°) |
| OKLab | oklab(36.32% 0.0508 -0.1607) |
| OKLCH | oklch(36.32% 0.169 287.5) |
| XYZ | xyz(7.5229, 4.0726, 26.3710) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.89
Indigo Blue
#3A18B1
ΔE00 4.91
Royal
#0C1793
ΔE00 5.17
Indigo
#4B0082
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F208F #708F20
analogous
#20388F #3F208F #77208F
triadic
#3F208F #8F3F20 #208F3F
tetradic
#3F208F #8F2038 #708F20 #208F77
square
#3F208F #8F2038 #708F20 #208F77
split-complementary
#3F208F #8F7720 #388F20
monochromatic
#130A2B #29155D #3F208F #552BC1 #7751D8
Accessibility & contrast
On white
11.57
#3F208F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3F208F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F208F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F208F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F208F | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#1D3F56
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f208f; /* rgb */ color: rgb(63, 32, 143); /* oklch */ color: oklch(36.3% 0.169 287.5);
Tailwind
colors: {
custom: {
50: '#7e5fb1',
500: '#3f208f',
950: '#000000',
},
}SCSS
$custom: #3f208f; $custom-light: #7e5fb1; $custom-dark: #000000;
JSON
{
"hex": "#3f208f",
"rgb": {
"r": 63,
"g": 32,
"b": 143
},
"hsl": {
"h": 256.757,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.36317,
"c": 0.16854,
"h": 287.5
},
"luminance": 0.04073
}Semantic roles & 50–950 ramp
primary
#3F208F
secondary
#9DBB4F
accent
#E641B8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980