#731C99#731C99
#731C99 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.191 H 312.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #731C99 |
|---|---|
| RGB | rgb(115, 28, 153) |
| HSL | hsl(282, 69%, 35%) |
| HSV | hsv(282, 82%, 60%) |
| CMYK | cmyk(24.8%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(31.29, 55.31, -49.67) |
| CIE-LCH | lch(31.29, 74.34, 318.08°) |
| OKLab | oklab(43.27% 0.1291 -0.1407) |
| OKLCH | oklch(43.27% 0.191 312.5) |
| XYZ | xyz(13.2342, 6.7757, 30.7415) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.17
Rebeccapurple
#663399
ΔE00 4.52
Darkmagenta
#8B008B
ΔE00 6.02
Purple
#800080
ΔE00 6.10
Darkish Purple
#751973
ΔE00 7.47
Indigo
#4B0082
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#731C99 #42991C
analogous
#341C99 #731C99 #991C80
triadic
#731C99 #99731C #1C9973
tetradic
#731C99 #99341C #42991C #1C8099
square
#731C99 #99341C #42991C #1C8099
split-complementary
#731C99 #80991C #1C9934
monochromatic
#250932 #4C1365 #731C99 #9A25CD #B450DF
Accessibility & contrast
On white
8.92
#731C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#731C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #731C99
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##731C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##731C99 | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#014B96
Tritanopia (blue-blind)
#6E3B5B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #731c99; /* rgb */ color: rgb(115, 28, 153); /* oklch */ color: oklch(43.3% 0.191 312.5);
Tailwind
colors: {
custom: {
50: '#a064b8',
500: '#731c99',
950: '#000000',
},
}SCSS
$custom: #731c99; $custom-light: #a064b8; $custom-dark: #000000;
JSON
{
"hex": "#731c99",
"rgb": {
"r": 115,
"g": 28,
"b": 153
},
"hsl": {
"h": 281.76,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.43272,
"c": 0.19093,
"h": 312.5
},
"luminance": 0.06775
}Semantic roles & 50–950 ramp
primary
#731C99
secondary
#72C24F
accent
#EC3C71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80