#3F1081#3F1081
#3F1081 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.167 H 293.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1081 |
|---|---|
| RGB | rgb(63, 16, 129) |
| HSL | hsl(265, 78%, 28%) |
| HSV | hsv(265, 88%, 51%) |
| CMYK | cmyk(51.2%, 87.6%, 0%, 49.4%) |
| CIE-LAB | lab(20.09, 45.67, -53.36) |
| CIE-LCH | lch(20.09, 70.23, 310.56°) |
| OKLab | oklab(33.24% 0.0667 -0.1532) |
| OKLCH | oklch(33.24% 0.167 293.5) |
| XYZ | xyz(6.1965, 3.0121, 21.0195) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.00
Indigo
#4B0082
ΔE00 2.54
Royal Purple (survey)
#4B006E
ΔE00 4.80
Royal
#0C1793
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.21
Navy
#000080
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1081 #528110
analogous
#101981 #3F1081 #771081
triadic
#3F1081 #813F10 #10813F
tetradic
#3F1081 #811019 #528110 #108177
square
#3F1081 #811019 #528110 #108177
split-complementary
#3F1081 #817710 #198110
monochromatic
#0D031B #24094B #3F1081 #5A17B7 #7627E4
Accessibility & contrast
On white
13.11
#3F1081 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3F1081 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1081
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1081 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1081 | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#2A334B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3f1081; /* rgb */ color: rgb(63, 16, 129); /* oklch */ color: oklch(33.2% 0.167 293.5);
Tailwind
colors: {
custom: {
50: '#7c57a7',
500: '#3f1081',
950: '#000000',
},
}SCSS
$custom: #3f1081; $custom-light: #7c57a7; $custom-dark: #000000;
JSON
{
"hex": "#3f1081",
"rgb": {
"r": 63,
"g": 16,
"b": 129
},
"hsl": {
"h": 264.956,
"s": 77.931,
"l": 28.431
},
"oklch": {
"l": 0.33238,
"c": 0.16713,
"h": 293.5
},
"luminance": 0.03012
}Semantic roles & 50–950 ramp
primary
#3F1081
secondary
#81B736
accent
#F433A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0310
muted
#7C787F