#732FB3#732FB3
#732FB3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.197 H 302.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #732FB3 |
|---|---|
| RGB | rgb(115, 47, 179) |
| HSL | hsl(271, 58%, 44%) |
| HSV | hsv(271, 74%, 70%) |
| CMYK | cmyk(35.8%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.85, 53.84, -57.91) |
| CIE-LCH | lch(35.85, 79.07, 312.91°) |
| OKLab | oklab(47.11% 0.1068 -0.165) |
| OKLCH | oklch(47.11% 0.197 302.9) |
| XYZ | xyz(16.2215, 8.9325, 43.5086) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.35
Purple (survey)
#7E1E9C
ΔE00 5.30
Purple Blue
#5D21D0
ΔE00 5.80
Bluey Purple
#6241C7
ΔE00 5.95
Darkviolet
#9400D3
ΔE00 6.43
Blurple
#5539CC
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732FB3 #6FB32F
analogous
#312FB3 #732FB3 #B32FB1
triadic
#732FB3 #B3732F #2FB373
tetradic
#732FB3 #B3312F #6FB32F #2FB1B3
square
#732FB3 #B3312F #6FB32F #2FB1B3
split-complementary
#732FB3 #B1B32F #2FB331
monochromatic
#351652 #542283 #732FB3 #924FD1 #B07FDD
Accessibility & contrast
On white
7.54
#732FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#732FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732FB3
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732FB3 | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#66506F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #732fb3; /* rgb */ color: rgb(115, 47, 179); /* oklch */ color: oklch(47.1% 0.197 302.9);
Tailwind
colors: {
custom: {
50: '#a16ecb',
500: '#732fb3',
950: '#000000',
},
}SCSS
$custom: #732fb3; $custom-light: #a16ecb; $custom-dark: #000000;
JSON
{
"hex": "#732fb3",
"rgb": {
"r": 115,
"g": 47,
"b": 179
},
"hsl": {
"h": 270.909,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.47114,
"c": 0.19654,
"h": 302.9
},
"luminance": 0.08933
}Semantic roles & 50–950 ramp
primary
#732FB3
secondary
#9EC678
accent
#E24692
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82