#721B98#721B98
#721B98 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.191 H 312.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #721B98 |
|---|---|
| RGB | rgb(114, 27, 152) |
| HSL | hsl(282, 70%, 35%) |
| HSV | hsv(282, 82%, 60%) |
| CMYK | cmyk(25%, 82.2%, 0%, 40.4%) |
| CIE-LAB | lab(30.95, 55.25, -49.62) |
| CIE-LCH | lch(30.95, 74.26, 318.07°) |
| OKLab | oklab(42.98% 0.1288 -0.1406) |
| OKLCH | oklch(42.98% 0.191 312.5) |
| XYZ | xyz(12.9978, 6.6287, 30.2944) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.39
Rebeccapurple
#663399
ΔE00 4.59
Purple
#800080
ΔE00 6.05
Darkmagenta
#8B008B
ΔE00 6.07
Darkish Purple
#751973
ΔE00 7.39
Indigo
#4B0082
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#721B98 #41981B
analogous
#341B98 #721B98 #981B7F
triadic
#721B98 #98721B #1B9872
tetradic
#721B98 #98341B #41981B #1B7F98
square
#721B98 #98341B #41981B #1B7F98
split-complementary
#721B98 #7F981B #1B9834
monochromatic
#240930 #4B1264 #721B98 #9924CC #B34EE0
Accessibility & contrast
On white
9.03
#721B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#721B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #721B98
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##721B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##721B98 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#6D3B5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #721b98; /* rgb */ color: rgb(114, 27, 152); /* oklch */ color: oklch(43.0% 0.191 312.5);
Tailwind
colors: {
custom: {
50: '#9f64b7',
500: '#721b98',
950: '#000000',
},
}SCSS
$custom: #721b98; $custom-light: #9f64b7; $custom-dark: #000000;
JSON
{
"hex": "#721b98",
"rgb": {
"r": 114,
"g": 27,
"b": 152
},
"hsl": {
"h": 281.76,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.42975,
"c": 0.19062,
"h": 312.5
},
"luminance": 0.06628
}Semantic roles & 50–950 ramp
primary
#721B98
secondary
#70C24D
accent
#ED3B71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80