#78286F#78286F
#78286F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.142 H 332.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #78286F |
|---|---|
| RGB | rgb(120, 40, 111) |
| HSL | hsl(307, 50%, 31%) |
| HSV | hsv(307, 67%, 47%) |
| CMYK | cmyk(0%, 66.7%, 7.5%, 52.9%) |
| CIE-LAB | lab(31.02, 43.73, -23.86) |
| CIE-LCH | lch(31.02, 49.81, 331.38°) |
| OKLab | oklab(42.38% 0.1256 -0.0653) |
| OKLCH | oklch(42.38% 0.142 332.5) |
| XYZ | xyz(11.3738, 6.6592, 15.7222) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.23
Grape
#6C3461
ΔE00 5.13
Purple
#800080
ΔE00 5.61
Rich Purple
#720058
ΔE00 6.08
Bruise
#7E4071
ΔE00 6.17
Darkmagenta
#8B008B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78286F #287831
analogous
#592878 #78286F #782847
triadic
#78286F #6F7828 #286F78
tetradic
#78286F #785928 #287831 #284778
square
#78286F #785928 #287831 #284778
split-complementary
#78286F #477828 #287859
monochromatic
#1C091A #4A1945 #78286F #A63799 #C654B9
Accessibility & contrast
On white
9.01
#78286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#78286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78286F
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78286F | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#7D2F47
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #78286f; /* rgb */ color: rgb(120, 40, 111); /* oklch */ color: oklch(42.4% 0.142 332.5);
Tailwind
colors: {
custom: {
50: '#a26898',
500: '#78286f',
950: '#000000',
},
}SCSS
$custom: #78286f; $custom-light: #a26898; $custom-dark: #000000;
JSON
{
"hex": "#78286f",
"rgb": {
"r": 120,
"g": 40,
"b": 111
},
"hsl": {
"h": 306.75,
"s": 50,
"l": 31.373
},
"oklch": {
"l": 0.42378,
"c": 0.14154,
"h": 332.5
},
"luminance": 0.06658
}Semantic roles & 50–950 ramp
primary
#78286F
secondary
#52AA5C
accent
#DA5E4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E