#3F153A#3F153A
#3F153A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.084 H 332.5°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3F153A |
|---|---|
| RGB | rgb(63, 21, 58) |
| HSL | hsl(307, 50%, 16%) |
| HSV | hsv(307, 67%, 25%) |
| CMYK | cmyk(0%, 66.7%, 7.9%, 75.3%) |
| CIE-LAB | lab(14.95, 26.05, -14.25) |
| CIE-LCH | lch(14.95, 29.69, 331.31°) |
| OKLab | oklab(27.77% 0.0747 -0.0389) |
| OKLCH | oklch(27.77% 0.084 332.5) |
| XYZ | xyz(3.0818, 1.8988, 4.2064) |
| Luminance | 0.0190 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Aubergine
#3D0734
ΔE00 2.90
Eggplant
#380835
ΔE00 3.03
Eggplant Purple
#430541
ΔE00 4.57
Dark Plum
#3F012C
ΔE00 4.90
Deep Violet
#490648
ΔE00 5.54
Dark Purple
#35063E
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F153A #153F1A
analogous
#2F153F #3F153A #3F1525
triadic
#3F153A #3A3F15 #153A3F
tetradic
#3F153A #3F2F15 #153F1A #15253F
square
#3F153A #3F2F15 #153F1A #15253F
split-complementary
#3F153A #253F15 #153F2F
monochromatic
#170815 #170815 #3F153A #6D2464 #9B348F
Accessibility & contrast
On white
15.22
#3F153A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#3F153A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F153A
15.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F153A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F153A | 1.00 | 15.22 | 1.38 | 15.22 |
| #FFFFFF | 15.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14223B
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#421825
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #3f153a; /* rgb */ color: rgb(63, 21, 58); /* oklch */ color: oklch(27.8% 0.084 332.5);
Tailwind
colors: {
custom: {
50: '#765570',
500: '#3f153a',
950: '#000000',
},
}SCSS
$custom: #3f153a; $custom-light: #765570; $custom-dark: #000000;
JSON
{
"hex": "#3f153a",
"rgb": {
"r": 63,
"g": 21,
"b": 58
},
"hsl": {
"h": 307.143,
"s": 50,
"l": 16.471
},
"oklch": {
"l": 0.27766,
"c": 0.0842,
"h": 332.5
},
"luminance": 0.01899
}Semantic roles & 50–950 ramp
primary
#3F153A
secondary
#397740
accent
#DA5F4E
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A