#3F0F5E#3F0F5E
#3F0F5E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.131 H 307.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3F0F5E |
|---|---|
| RGB | rgb(63, 15, 94) |
| HSL | hsl(276, 72%, 21%) |
| HSV | hsv(276, 84%, 37%) |
| CMYK | cmyk(33%, 84%, 0%, 63.1%) |
| CIE-LAB | lab(16.54, 37.10, -36.45) |
| CIE-LCH | lch(16.54, 52.01, 315.50°) |
| OKLab | oklab(29.73% 0.0798 -0.1037) |
| OKLCH | oklch(29.73% 0.131 307.6) |
| XYZ | xyz(4.2407, 2.2066, 10.7900) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.75
Plum Purple
#4E0550
ΔE00 5.88
Dark Indigo
#1F0954
ΔE00 5.99
Dark Violet
#34013F
ΔE00 6.29
Deep Purple
#36013F
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F0F5E #2E5E0F
analogous
#180F5E #3F0F5E #5E0F56
triadic
#3F0F5E #5E3F0F #0F5E3F
tetradic
#3F0F5E #5E180F #2E5E0F #0F565E
square
#3F0F5E #5E180F #2E5E0F #0F565E
split-complementary
#3F0F5E #565E0F #0F5E18
monochromatic
#12041A #1C0729 #3F0F5E #621793 #8620C8
Accessibility & contrast
On white
14.57
#3F0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#3F0F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F0F5E
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F0F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F0F5E | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#3A2337
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #3f0f5e; /* rgb */ color: rgb(63, 15, 94); /* oklch */ color: oklch(29.7% 0.131 307.6);
Tailwind
colors: {
custom: {
50: '#78548c',
500: '#3f0f5e',
950: '#000000',
},
}SCSS
$custom: #3f0f5e; $custom-light: #78548c; $custom-dark: #000000;
JSON
{
"hex": "#3f0f5e",
"rgb": {
"r": 63,
"g": 15,
"b": 94
},
"hsl": {
"h": 276.456,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.29731,
"c": 0.13081,
"h": 307.6
},
"luminance": 0.02207
}Semantic roles & 50–950 ramp
primary
#3F0F5E
secondary
#599731
accent
#EF3980
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D