#812673#812673
#812673 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.153 H 334.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #812673 |
|---|---|
| RGB | rgb(129, 38, 115) |
| HSL | hsl(309, 54%, 33%) |
| HSV | hsv(309, 71%, 51%) |
| CMYK | cmyk(0%, 70.5%, 10.9%, 49.4%) |
| CIE-LAB | lab(32.46, 47.67, -24.03) |
| CIE-LCH | lch(32.46, 53.38, 333.25°) |
| OKLab | oklab(43.79% 0.1386 -0.0656) |
| OKLCH | oklch(43.79% 0.153 334.7) |
| XYZ | xyz(12.8410, 7.2922, 16.9476) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.87
Purple
#800080
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 5.80
Warm Purple
#952E8F
ΔE00 5.86
Bruise
#7E4071
ΔE00 6.16
Grape
#6C3461
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812673 #268134
analogous
#622681 #812673 #812645
triadic
#812673 #738126 #267381
tetradic
#812673 #816226 #268134 #264581
square
#812673 #816226 #268134 #264581
split-complementary
#812673 #458126 #268162
monochromatic
#220A1F #521849 #812673 #B0349D #CD55BA
Accessibility & contrast
On white
8.54
#812673 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#812673 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812673
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812673 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812673 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#872D49
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #812673; /* rgb */ color: rgb(129, 38, 115); /* oklch */ color: oklch(43.8% 0.153 334.7);
Tailwind
colors: {
custom: {
50: '#a9699b',
500: '#812673',
950: '#000000',
},
}SCSS
$custom: #812673; $custom-light: #a9699b; $custom-dark: #000000;
JSON
{
"hex": "#812673",
"rgb": {
"r": 129,
"g": 38,
"b": 115
},
"hsl": {
"h": 309.231,
"s": 54.491,
"l": 32.745
},
"oklch": {
"l": 0.43794,
"c": 0.15336,
"h": 334.7
},
"luminance": 0.07291
}Semantic roles & 50–950 ramp
primary
#812673
secondary
#51B160
accent
#DE614A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E