#3F198F#3F198F
#3F198F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.175 H 288.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3F198F |
|---|---|
| RGB | rgb(63, 25, 143) |
| HSL | hsl(259, 70%, 33%) |
| HSV | hsv(259, 83%, 56%) |
| CMYK | cmyk(55.9%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(22.77, 45.93, -57.73) |
| CIE-LCH | lch(22.77, 73.77, 308.51°) |
| OKLab | oklab(35.53% 0.0558 -0.1661) |
| OKLCH | oklch(35.53% 0.175 288.6) |
| XYZ | xyz(7.3540, 3.7348, 26.3147) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.72
Indigo
#4B0082
ΔE00 4.30
Indigo Blue
#3A18B1
ΔE00 4.78
Royal
#0C1793
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.70
Ultramarine
#2000B1
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F198F #698F19
analogous
#192E8F #3F198F #7A198F
triadic
#3F198F #8F3F19 #198F3F
tetradic
#3F198F #8F192E #698F19 #198F7A
square
#3F198F #8F192E #698F19 #198F7A
split-complementary
#3F198F #8F7A19 #2E8F19
monochromatic
#110727 #28105B #3F198F #5622C3 #7644DE
Accessibility & contrast
On white
12.02
#3F198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3F198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F198F
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F198F | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#1D3C55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f198f; /* rgb */ color: rgb(63, 25, 143); /* oklch */ color: oklch(35.5% 0.175 288.6);
Tailwind
colors: {
custom: {
50: '#7e5cb1',
500: '#3f198f',
950: '#000000',
},
}SCSS
$custom: #3f198f; $custom-light: #7e5cb1; $custom-dark: #000000;
JSON
{
"hex": "#3f198f",
"rgb": {
"r": 63,
"g": 25,
"b": 143
},
"hsl": {
"h": 259.322,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.35526,
"c": 0.17522,
"h": 288.6
},
"luminance": 0.03735
}Semantic roles & 50–950 ramp
primary
#3F198F
secondary
#98BF44
accent
#ED3BB4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980