#731B96#731B96
#731B96 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.189 H 313.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #731B96 |
|---|---|
| RGB | rgb(115, 27, 150) |
| HSL | hsl(283, 69%, 35%) |
| HSV | hsv(283, 82%, 59%) |
| CMYK | cmyk(23.3%, 82%, 0%, 41.2%) |
| CIE-LAB | lab(30.95, 55.01, -48.38) |
| CIE-LCH | lch(30.95, 73.26, 318.67°) |
| OKLab | oklab(42.96% 0.1305 -0.1369) |
| OKLCH | oklch(42.96% 0.189 313.6) |
| XYZ | xyz(12.9662, 6.6311, 29.4452) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.23
Rebeccapurple
#663399
ΔE00 4.77
Purple
#800080
ΔE00 5.63
Darkmagenta
#8B008B
ΔE00 5.68
Darkish Purple
#751973
ΔE00 6.97
Indigo
#4B0082
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#731B96 #3E961B
analogous
#361B96 #731B96 #961B7C
triadic
#731B96 #96731B #1B9673
tetradic
#731B96 #96361B #3E961B #1B7C96
square
#731B96 #96361B #3E961B #1B7C96
split-complementary
#731B96 #7C961B #1B9636
monochromatic
#23082E #4B1262 #731B96 #9B24CA #B54DDF
Accessibility & contrast
On white
9.03
#731B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#731B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #731B96
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##731B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##731B96 | 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)
#004499
Deuteranopia (green-blind)
#094B93
Tritanopia (blue-blind)
#6F3A5A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #731b96; /* rgb */ color: rgb(115, 27, 150); /* oklch */ color: oklch(43.0% 0.189 313.6);
Tailwind
colors: {
custom: {
50: '#a064b6',
500: '#731b96',
950: '#000000',
},
}SCSS
$custom: #731b96; $custom-light: #a064b6; $custom-dark: #000000;
JSON
{
"hex": "#731b96",
"rgb": {
"r": 115,
"g": 27,
"b": 150
},
"hsl": {
"h": 282.927,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.42963,
"c": 0.18915,
"h": 313.6
},
"luminance": 0.06631
}Semantic roles & 50–950 ramp
primary
#731B96
secondary
#6DC14C
accent
#EC3B6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80