#732F97#732F97
#732F97 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.167 H 311.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #732F97 |
|---|---|
| RGB | rgb(115, 47, 151) |
| HSL | hsl(279, 53%, 39%) |
| HSV | hsv(279, 69%, 59%) |
| CMYK | cmyk(23.8%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(33.80, 47.32, -44.39) |
| CIE-LCH | lch(33.80, 64.89, 316.83°) |
| OKLab | oklab(45% 0.111 -0.1253) |
| OKLCH | oklch(45% 0.167 311.5) |
| XYZ | xyz(13.6716, 7.9126, 30.0792) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.91
Purple (survey)
#7E1E9C
ΔE00 3.03
Darkmagenta
#8B008B
ΔE00 6.84
Purple
#800080
ΔE00 7.20
Darkish Purple
#751973
ΔE00 7.75
Warm Purple
#952E8F
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732F97 #53972F
analogous
#3F2F97 #732F97 #972F87
triadic
#732F97 #97732F #2F9773
tetradic
#732F97 #973F2F #53972F #2F8797
square
#732F97 #973F2F #53972F #2F8797
split-complementary
#732F97 #87972F #2F973F
monochromatic
#2C123A #4F2068 #732F97 #9640C3 #B06ED2
Accessibility & contrast
On white
8.13
#732F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#732F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732F97
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732F97 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#6F455F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #732f97; /* rgb */ color: rgb(115, 47, 151); /* oklch */ color: oklch(45.0% 0.167 311.5);
Tailwind
colors: {
custom: {
50: '#9f6db6',
500: '#732f97',
950: '#000000',
},
}SCSS
$custom: #732f97; $custom-light: #9f6db6; $custom-dark: #000000;
JSON
{
"hex": "#732f97",
"rgb": {
"r": 115,
"g": 47,
"b": 151
},
"hsl": {
"h": 279.231,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.45004,
"c": 0.16738,
"h": 311.5
},
"luminance": 0.07912
}Semantic roles & 50–950 ramp
primary
#732F97
secondary
#84B968
accent
#DC4C7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80