#731C9F#731C9F
#731C9F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.196 H 310.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #731C9F |
|---|---|
| RGB | rgb(115, 28, 159) |
| HSL | hsl(280, 70%, 37%) |
| HSV | hsv(280, 82%, 62%) |
| CMYK | cmyk(27.7%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(31.76, 56.57, -52.56) |
| CIE-LCH | lch(31.76, 77.22, 317.10°) |
| OKLab | oklab(43.75% 0.1277 -0.1492) |
| OKLCH | oklch(43.75% 0.196 310.6) |
| XYZ | xyz(13.7423, 6.9789, 33.4173) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.46
Rebeccapurple
#663399
ΔE00 4.40
Darkmagenta
#8B008B
ΔE00 6.69
Purple
#800080
ΔE00 6.97
Purple Blue
#5D21D0
ΔE00 8.21
Darkviolet
#9400D3
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#731C9F #489F1C
analogous
#321C9F #731C9F #9F1C8A
triadic
#731C9F #9F731C #1C9F73
tetradic
#731C9F #9F321C #489F1C #1C8A9F
square
#731C9F #9F321C #489F1C #1C8A9F
split-complementary
#731C9F #8A9F1C #1C9F32
monochromatic
#280A37 #4D136B #731C9F #9925D3 #B254E1
Accessibility & contrast
On white
8.77
#731C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#731C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #731C9F
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##731C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##731C9F | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6D3E5F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #731c9f; /* rgb */ color: rgb(115, 28, 159); /* oklch */ color: oklch(43.7% 0.196 310.6);
Tailwind
colors: {
custom: {
50: '#a064bc',
500: '#731c9f',
950: '#000000',
},
}SCSS
$custom: #731c9f; $custom-light: #a064bc; $custom-dark: #000000;
JSON
{
"hex": "#731c9f",
"rgb": {
"r": 115,
"g": 28,
"b": 159
},
"hsl": {
"h": 279.847,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.43746,
"c": 0.19635,
"h": 310.6
},
"luminance": 0.06979
}Semantic roles & 50–950 ramp
primary
#731C9F
secondary
#79C453
accent
#ED3B77
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81