#3F1960#3F1960
#3F1960 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.121 H 304.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1960 |
|---|---|
| RGB | rgb(63, 25, 96) |
| HSL | hsl(272, 59%, 24%) |
| HSV | hsv(272, 74%, 38%) |
| CMYK | cmyk(34.4%, 74%, 0%, 62.4%) |
| CIE-LAB | lab(18.35, 32.93, -34.84) |
| CIE-LCH | lch(18.35, 47.94, 313.39°) |
| OKLab | oklab(31.07% 0.0688 -0.099) |
| OKLCH | oklch(31.07% 0.121 304.8) |
| XYZ | xyz(4.5084, 2.5966, 11.3277) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.01
Dark Indigo
#1F0954
ΔE00 6.40
Plum Purple
#4E0550
ΔE00 6.73
Indigo
#4B0082
ΔE00 7.14
Dark Violet
#34013F
ΔE00 7.26
Dark Purple
#35063E
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1960 #3A6019
analogous
#1B1960 #3F1960 #60195D
triadic
#3F1960 #603F19 #19603F
tetradic
#3F1960 #601B19 #3A6019 #195D60
square
#3F1960 #601B19 #3A6019 #195D60
split-complementary
#3F1960 #5D6019 #19601B
monochromatic
#100618 #1F0C2F #3F1960 #5F2691 #7F32C1
Accessibility & contrast
On white
13.82
#3F1960 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3F1960 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1960
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1960 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1960 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002D5E
Tritanopia (blue-blind)
#39293A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3f1960; /* rgb */ color: rgb(63, 25, 96); /* oklch */ color: oklch(31.1% 0.121 304.8);
Tailwind
colors: {
custom: {
50: '#77598e',
500: '#3f1960',
950: '#000000',
},
}SCSS
$custom: #3f1960; $custom-light: #77598e; $custom-dark: #000000;
JSON
{
"hex": "#3f1960",
"rgb": {
"r": 63,
"g": 25,
"b": 96
},
"hsl": {
"h": 272.113,
"s": 58.678,
"l": 23.725
},
"oklch": {
"l": 0.31067,
"c": 0.12052,
"h": 304.8
},
"luminance": 0.02597
}Semantic roles & 50–950 ramp
primary
#3F1960
secondary
#67963F
accent
#E2468E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D