#732AAF#732AAF
#732AAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 304.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #732AAF |
|---|---|
| RGB | rgb(115, 42, 175) |
| HSL | hsl(273, 61%, 43%) |
| HSV | hsv(273, 76%, 69%) |
| CMYK | cmyk(34.3%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(34.79, 55.02, -57.25) |
| CIE-LCH | lch(34.79, 79.40, 313.86°) |
| OKLab | oklab(46.27% 0.1123 -0.163) |
| OKLCH | oklch(46.27% 0.198 304.5) |
| XYZ | xyz(15.6343, 8.3960, 41.3461) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.06
Purple (survey)
#7E1E9C
ΔE00 4.44
Purple Blue
#5D21D0
ΔE00 6.03
Darkviolet
#9400D3
ΔE00 6.60
Bluey Purple
#6241C7
ΔE00 6.93
Blurple
#5539CC
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732AAF #66AF2A
analogous
#302AAF #732AAF #AF2AA9
triadic
#732AAF #AF732A #2AAF73
tetradic
#732AAF #AF302A #66AF2A #2AA9AF
square
#732AAF #AF302A #66AF2A #2AA9AF
split-complementary
#732AAF #A9AF2A #2AAF30
monochromatic
#32124C #531E7E #732AAF #9244D2 #AF75DE
Accessibility & contrast
On white
7.84
#732AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#732AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732AAF
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732AAF | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#674C6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #732aaf; /* rgb */ color: rgb(115, 42, 175); /* oklch */ color: oklch(46.3% 0.198 304.5);
Tailwind
colors: {
custom: {
50: '#a16bc8',
500: '#732aaf',
950: '#000000',
},
}SCSS
$custom: #732aaf; $custom-light: #a16bc8; $custom-dark: #000000;
JSON
{
"hex": "#732aaf",
"rgb": {
"r": 115,
"g": 42,
"b": 175
},
"hsl": {
"h": 272.932,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.46268,
"c": 0.19795,
"h": 304.5
},
"luminance": 0.08396
}Semantic roles & 50–950 ramp
primary
#732AAF
secondary
#96C66F
accent
#E4438C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82