#731D9F#731D9F
#731D9F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.195 H 310.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #731D9F |
|---|---|
| RGB | rgb(115, 29, 159) |
| HSL | hsl(280, 69%, 37%) |
| HSV | hsv(280, 82%, 62%) |
| CMYK | cmyk(27.7%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(31.87, 56.25, -52.39) |
| CIE-LCH | lch(31.87, 76.87, 317.04°) |
| OKLab | oklab(43.82% 0.1269 -0.1487) |
| OKLCH | oklch(43.82% 0.195 310.5) |
| XYZ | xyz(13.7664, 7.0271, 33.4253) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.42
Rebeccapurple
#663399
ΔE00 4.30
Darkmagenta
#8B008B
ΔE00 6.71
Purple
#800080
ΔE00 7.00
Purple Blue
#5D21D0
ΔE00 8.21
Darkviolet
#9400D3
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#731D9F #499F1D
analogous
#321D9F #731D9F #9F1D8A
triadic
#731D9F #9F731D #1D9F73
tetradic
#731D9F #9F321D #499F1D #1D8A9F
square
#731D9F #9F321D #499F1D #1D8A9F
split-complementary
#731D9F #8A9F1D #1D9F32
monochromatic
#280A37 #4E146B #731D9F #9826D3 #B156E0
Accessibility & contrast
On white
8.73
#731D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#731D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #731D9F
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##731D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##731D9F | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6D3F5F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #731d9f; /* rgb */ color: rgb(115, 29, 159); /* oklch */ color: oklch(43.8% 0.195 310.5);
Tailwind
colors: {
custom: {
50: '#a065bc',
500: '#731d9f',
950: '#000000',
},
}SCSS
$custom: #731d9f; $custom-light: #a065bc; $custom-dark: #000000;
JSON
{
"hex": "#731d9f",
"rgb": {
"r": 115,
"g": 29,
"b": 159
},
"hsl": {
"h": 279.692,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.43823,
"c": 0.19547,
"h": 310.5
},
"luminance": 0.07027
}Semantic roles & 50–950 ramp
primary
#731D9F
secondary
#7AC454
accent
#EC3C77
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81