#7B1E6F#7B1E6F
#7B1E6F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.157 H 333.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1E6F |
|---|---|
| RGB | rgb(123, 30, 111) |
| HSL | hsl(308, 61%, 30%) |
| HSV | hsv(308, 76%, 48%) |
| CMYK | cmyk(0%, 75.6%, 9.8%, 51.8%) |
| CIE-LAB | lab(30.13, 48.49, -25.22) |
| CIE-LCH | lch(30.13, 54.65, 332.52°) |
| OKLab | oklab(41.84% 0.1405 -0.0691) |
| OKLCH | oklch(41.84% 0.157 333.8) |
| XYZ | xyz(11.5020, 6.2882, 15.6438) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.33
Purple
#800080
ΔE00 4.43
Rich Purple
#720058
ΔE00 5.15
Darkmagenta
#8B008B
ΔE00 5.67
Grape
#6C3461
ΔE00 6.50
Velvet
#750851
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1E6F #1E7B2A
analogous
#591E7B #7B1E6F #7B1E40
triadic
#7B1E6F #6F7B1E #1E6F7B
tetradic
#7B1E6F #7B591E #1E7B2A #1E407B
square
#7B1E6F #7B591E #1E7B2A #1E407B
split-complementary
#7B1E6F #407B1E #1E7B59
monochromatic
#190616 #4A1243 #7B1E6F #AC2A9B #D142BF
Accessibility & contrast
On white
9.30
#7B1E6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7B1E6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1E6F
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1E6F | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#812744
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7b1e6f; /* rgb */ color: rgb(123, 30, 111); /* oklch */ color: oklch(41.8% 0.157 333.8);
Tailwind
colors: {
custom: {
50: '#a46498',
500: '#7b1e6f',
950: '#000000',
},
}SCSS
$custom: #7b1e6f; $custom-light: #a46498; $custom-dark: #000000;
JSON
{
"hex": "#7b1e6f",
"rgb": {
"r": 123,
"g": 30,
"b": 111
},
"hsl": {
"h": 307.742,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.41835,
"c": 0.1566,
"h": 333.8
},
"luminance": 0.06287
}Semantic roles & 50–950 ramp
primary
#7B1E6F
secondary
#46AE54
accent
#E45944
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E