#78276F#78276F
#78276F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 332.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #78276F |
|---|---|
| RGB | rgb(120, 39, 111) |
| HSL | hsl(307, 51%, 31%) |
| HSV | hsv(307, 68%, 47%) |
| CMYK | cmyk(0%, 67.5%, 7.5%, 52.9%) |
| CIE-LAB | lab(30.86, 44.16, -24.11) |
| CIE-LCH | lch(30.86, 50.31, 331.37°) |
| OKLab | oklab(42.26% 0.1268 -0.066) |
| OKLCH | oklch(42.26% 0.143 332.5) |
| XYZ | xyz(11.3405, 6.5927, 15.7111) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.05
Grape
#6C3461
ΔE00 5.28
Purple
#800080
ΔE00 5.44
Rich Purple
#720058
ΔE00 5.97
Bruise
#7E4071
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78276F #277830
analogous
#582778 #78276F #782746
triadic
#78276F #6F7827 #276F78
tetradic
#78276F #785827 #277830 #274678
square
#78276F #785827 #277830 #274678
split-complementary
#78276F #467827 #277858
monochromatic
#1C091A #4A1844 #78276F #A6369A #C752BA
Accessibility & contrast
On white
9.06
#78276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#78276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78276F
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78276F | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#7D2E47
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #78276f; /* rgb */ color: rgb(120, 39, 111); /* oklch */ color: oklch(42.3% 0.143 332.5);
Tailwind
colors: {
custom: {
50: '#a26898',
500: '#78276f',
950: '#000000',
},
}SCSS
$custom: #78276f; $custom-light: #a26898; $custom-dark: #000000;
JSON
{
"hex": "#78276f",
"rgb": {
"r": 120,
"g": 39,
"b": 111
},
"hsl": {
"h": 306.667,
"s": 50.943,
"l": 31.176
},
"oklch": {
"l": 0.42263,
"c": 0.14299,
"h": 332.5
},
"luminance": 0.06592
}Semantic roles & 50–950 ramp
primary
#78276F
secondary
#51AA5B
accent
#DA5D4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E