#3F1775#3F1775
#3F1775 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.148 H 296.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1775 |
|---|---|
| RGB | rgb(63, 23, 117) |
| HSL | hsl(266, 67%, 27%) |
| HSV | hsv(266, 80%, 46%) |
| CMYK | cmyk(46.2%, 80.3%, 0%, 54.1%) |
| CIE-LAB | lab(19.86, 39.61, -46.09) |
| CIE-LCH | lch(19.86, 60.77, 310.68°) |
| OKLab | oklab(32.71% 0.0659 -0.132) |
| OKLCH | oklch(32.71% 0.148 296.5) |
| XYZ | xyz(5.5663, 2.9538, 17.1030) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.85
Indigo (survey)
#380282
ΔE00 3.96
Royal Purple (survey)
#4B006E
ΔE00 4.21
Midnight Blue
#191970
ΔE00 6.03
Dark Indigo
#1F0954
ΔE00 7.08
Dark Royal Blue
#02066F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1775 #4D7517
analogous
#171E75 #3F1775 #6E1775
triadic
#3F1775 #753F17 #17753F
tetradic
#3F1775 #75171E #4D7517 #17756E
square
#3F1775 #75171E #4D7517 #17756E
split-complementary
#3F1775 #756E17 #1E7517
monochromatic
#0E051A #230D42 #3F1775 #5B21A8 #7730D6
Accessibility & contrast
On white
13.20
#3F1775 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#3F1775 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1775
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1775 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1775 | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#303145
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3f1775; /* rgb */ color: rgb(63, 23, 117); /* oklch */ color: oklch(32.7% 0.148 296.5);
Tailwind
colors: {
custom: {
50: '#7a599e',
500: '#3f1775',
950: '#000000',
},
}SCSS
$custom: #3f1775; $custom-light: #7a599e; $custom-dark: #000000;
JSON
{
"hex": "#3f1775",
"rgb": {
"r": 63,
"g": 23,
"b": 117
},
"hsl": {
"h": 265.532,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.32709,
"c": 0.14754,
"h": 296.5
},
"luminance": 0.02954
}Semantic roles & 50–950 ramp
primary
#3F1775
secondary
#7CAA3D
accent
#EA3EA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E