#3F1790#3F1790
#3F1790 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.178 H 288.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1790 |
|---|---|
| RGB | rgb(63, 23, 144) |
| HSL | hsl(260, 72%, 33%) |
| HSV | hsv(260, 84%, 56%) |
| CMYK | cmyk(56.3%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(22.59, 47.04, -58.65) |
| CIE-LCH | lch(22.59, 75.18, 308.73°) |
| OKLab | oklab(35.43% 0.0567 -0.1688) |
| OKLCH | oklch(35.43% 0.178 288.6) |
| XYZ | xyz(7.3889, 3.6828, 26.7017) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.53
Indigo
#4B0082
ΔE00 4.15
Indigo Blue
#3A18B1
ΔE00 4.65
Royal
#0C1793
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.51
Ultramarine
#2000B1
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1790 #689017
analogous
#172B90 #3F1790 #7C1790
triadic
#3F1790 #903F17 #17903F
tetradic
#3F1790 #90172B #689017 #17907C
square
#3F1790 #90172B #689017 #17907C
split-complementary
#3F1790 #907C17 #2B9017
monochromatic
#110626 #280F5B #3F1790 #561FC5 #7641E1
Accessibility & contrast
On white
12.09
#3F1790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3F1790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1790
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1790 | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#1C3C55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f1790; /* rgb */ color: rgb(63, 23, 144); /* oklch */ color: oklch(35.4% 0.178 288.6);
Tailwind
colors: {
custom: {
50: '#7e5bb2',
500: '#3f1790',
950: '#000000',
},
}SCSS
$custom: #3f1790; $custom-light: #7e5bb2; $custom-dark: #000000;
JSON
{
"hex": "#3f1790",
"rgb": {
"r": 63,
"g": 23,
"b": 144
},
"hsl": {
"h": 259.835,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.35433,
"c": 0.17803,
"h": 288.6
},
"luminance": 0.03683
}Semantic roles & 50–950 ramp
primary
#3F1790
secondary
#97C142
accent
#EF39B3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980