#721B97#721B97
#721B97 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.190 H 312.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #721B97 |
|---|---|
| RGB | rgb(114, 27, 151) |
| HSL | hsl(282, 70%, 35%) |
| HSV | hsv(282, 82%, 59%) |
| CMYK | cmyk(24.5%, 82.1%, 0%, 40.8%) |
| CIE-LAB | lab(30.87, 55.04, -49.14) |
| CIE-LCH | lch(30.87, 73.78, 318.24°) |
| OKLab | oklab(42.9% 0.129 -0.1391) |
| OKLCH | oklch(42.9% 0.19 312.8) |
| XYZ | xyz(12.9163, 6.5960, 29.8649) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.39
Rebeccapurple
#663399
ΔE00 4.64
Purple
#800080
ΔE00 5.91
Darkmagenta
#8B008B
ΔE00 5.97
Darkish Purple
#751973
ΔE00 7.22
Indigo
#4B0082
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#721B97 #40971B
analogous
#341B97 #721B97 #971B7E
triadic
#721B97 #97721B #1B9772
tetradic
#721B97 #97341B #40971B #1B7E97
square
#721B97 #97341B #40971B #1B7E97
split-complementary
#721B97 #7E971B #1B9734
monochromatic
#24082F #4B1263 #721B97 #9924CB #B44DDF
Accessibility & contrast
On white
9.05
#721B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#721B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #721B97
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##721B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##721B97 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#024A94
Tritanopia (blue-blind)
#6E3A5A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #721b97; /* rgb */ color: rgb(114, 27, 151); /* oklch */ color: oklch(42.9% 0.190 312.8);
Tailwind
colors: {
custom: {
50: '#9f64b6',
500: '#721b97',
950: '#000000',
},
}SCSS
$custom: #721b97; $custom-light: #9f64b6; $custom-dark: #000000;
JSON
{
"hex": "#721b97",
"rgb": {
"r": 114,
"g": 27,
"b": 151
},
"hsl": {
"h": 282.097,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.42897,
"c": 0.18973,
"h": 312.8
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#721B97
secondary
#6FC14C
accent
#EC3B70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80