#731B99#731B99
#731B99 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.2% C 0.192 H 312.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #731B99 |
|---|---|
| RGB | rgb(115, 27, 153) |
| HSL | hsl(282, 70%, 35%) |
| HSV | hsv(282, 82%, 60%) |
| CMYK | cmyk(24.8%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(31.18, 55.63, -49.85) |
| CIE-LCH | lch(31.18, 74.70, 318.14°) |
| OKLab | oklab(43.2% 0.1299 -0.1412) |
| OKLCH | oklch(43.2% 0.192 312.6) |
| XYZ | xyz(13.2109, 6.7290, 30.7337) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.22
Rebeccapurple
#663399
ΔE00 4.62
Darkmagenta
#8B008B
ΔE00 6.00
Purple
#800080
ΔE00 6.07
Darkish Purple
#751973
ΔE00 7.47
Indigo
#4B0082
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#731B99 #41991B
analogous
#341B99 #731B99 #991B80
triadic
#731B99 #99731B #1B9973
tetradic
#731B99 #99341B #41991B #1B8099
square
#731B99 #99341B #41991B #1B8099
split-complementary
#731B99 #80991B #1B9934
monochromatic
#250931 #4C1265 #731B99 #9A24CD #B44FE0
Accessibility & contrast
On white
8.95
#731B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#731B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #731B99
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##731B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##731B99 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#6F3B5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #731b99; /* rgb */ color: rgb(115, 27, 153); /* oklch */ color: oklch(43.2% 0.192 312.6);
Tailwind
colors: {
custom: {
50: '#a064b8',
500: '#731b99',
950: '#000000',
},
}SCSS
$custom: #731b99; $custom-light: #a064b8; $custom-dark: #000000;
JSON
{
"hex": "#731b99",
"rgb": {
"r": 115,
"g": 27,
"b": 153
},
"hsl": {
"h": 281.905,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.43196,
"c": 0.19183,
"h": 312.6
},
"luminance": 0.06729
}Semantic roles & 50–950 ramp
primary
#731B99
secondary
#71C24E
accent
#ED3B71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80