#3F1693#3F1693
#3F1693 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.7% C 0.182 H 287.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1693 |
|---|---|
| RGB | rgb(63, 22, 147) |
| HSL | hsl(260, 74%, 33%) |
| HSV | hsv(260, 85%, 58%) |
| CMYK | cmyk(57.1%, 85%, 0%, 42.4%) |
| CIE-LAB | lab(22.78, 48.26, -60.20) |
| CIE-LCH | lch(22.78, 77.15, 308.72°) |
| OKLab | oklab(35.66% 0.0561 -0.1733) |
| OKLCH | oklch(35.66% 0.182 287.9) |
| XYZ | xyz(7.6017, 3.7368, 27.9188) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.69
Indigo Blue
#3A18B1
ΔE00 4.23
Indigo
#4B0082
ΔE00 4.33
Royal
#0C1793
ΔE00 4.88
Ultramarine
#2000B1
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1693 #6A9316
analogous
#162B93 #3F1693 #7D1693
triadic
#3F1693 #933F16 #16933F
tetradic
#3F1693 #93162B #6A9316 #16937D
square
#3F1693 #93162B #6A9316 #16937D
split-complementary
#3F1693 #937D16 #2B9316
monochromatic
#110629 #280E5E #3F1693 #561EC8 #7641E3
Accessibility & contrast
On white
12.02
#3F1693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3F1693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1693
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1693 | 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)
#003996
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#193D57
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f1693; /* rgb */ color: rgb(63, 22, 147); /* oklch */ color: oklch(35.7% 0.182 287.9);
Tailwind
colors: {
custom: {
50: '#7f5bb4',
500: '#3f1693',
950: '#000000',
},
}SCSS
$custom: #3f1693; $custom-light: #7f5bb4; $custom-dark: #000000;
JSON
{
"hex": "#3f1693",
"rgb": {
"r": 63,
"g": 22,
"b": 147
},
"hsl": {
"h": 259.68,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.35658,
"c": 0.18214,
"h": 287.9
},
"luminance": 0.03737
}Semantic roles & 50–950 ramp
primary
#3F1693
secondary
#99C342
accent
#F137B4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980