#79256F#79256F
#79256F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.146 H 333.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #79256F |
|---|---|
| RGB | rgb(121, 37, 111) |
| HSL | hsl(307, 53%, 31%) |
| HSV | hsv(307, 69%, 47%) |
| CMYK | cmyk(0%, 69.4%, 8.3%, 52.5%) |
| CIE-LAB | lab(30.73, 45.28, -24.30) |
| CIE-LCH | lch(30.73, 51.39, 331.78°) |
| OKLab | oklab(42.2% 0.1304 -0.0666) |
| OKLCH | oklch(42.2% 0.146 333) |
| XYZ | xyz(11.4160, 6.5367, 15.6963) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.86
Purple
#800080
ΔE00 5.18
Grape
#6C3461
ΔE00 5.57
Rich Purple
#720058
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.26
Bruise
#7E4071
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79256F #25792F
analogous
#592579 #79256F #792545
triadic
#79256F #6F7925 #256F79
tetradic
#79256F #795925 #25792F #254579
square
#79256F #795925 #25792F #254579
split-complementary
#79256F #457925 #257959
monochromatic
#1B0819 #4A1744 #79256F #A8339A #C94FBB
Accessibility & contrast
On white
9.10
#79256F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#79256F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #79256F
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79256F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##79256F | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#7E2C46
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #79256f; /* rgb */ color: rgb(121, 37, 111); /* oklch */ color: oklch(42.2% 0.146 333.0);
Tailwind
colors: {
custom: {
50: '#a36798',
500: '#79256f',
950: '#000000',
},
}SCSS
$custom: #79256f; $custom-light: #a36798; $custom-dark: #000000;
JSON
{
"hex": "#79256f",
"rgb": {
"r": 121,
"g": 37,
"b": 111
},
"hsl": {
"h": 307.143,
"s": 53.165,
"l": 30.98
},
"oklch": {
"l": 0.422,
"c": 0.14644,
"h": 333
},
"luminance": 0.06536
}Semantic roles & 50–950 ramp
primary
#79256F
secondary
#4EAB59
accent
#DD5D4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E