#732AB1#732AB1
#732AB1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.200 H 304.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #732AB1 |
|---|---|
| RGB | rgb(115, 42, 177) |
| HSL | hsl(272, 62%, 43%) |
| HSV | hsv(272, 76%, 69%) |
| CMYK | cmyk(35%, 76.3%, 0%, 30.6%) |
| CIE-LAB | lab(34.95, 55.48, -58.18) |
| CIE-LCH | lch(34.95, 80.40, 313.64°) |
| OKLab | oklab(46.43% 0.1118 -0.1658) |
| OKLCH | oklch(46.43% 0.2 304) |
| XYZ | xyz(15.8322, 8.4751, 42.3882) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.28
Purple (survey)
#7E1E9C
ΔE00 4.70
Purple Blue
#5D21D0
ΔE00 5.78
Darkviolet
#9400D3
ΔE00 6.44
Bluey Purple
#6241C7
ΔE00 6.72
Blurple
#5539CC
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732AB1 #68B12A
analogous
#2F2AB1 #732AB1 #B12AAC
triadic
#732AB1 #B1732A #2AB173
tetradic
#732AB1 #B12F2A #68B12A #2AACB1
square
#732AB1 #B12F2A #68B12A #2AACB1
split-complementary
#732AB1 #ACB12A #2AB12F
monochromatic
#33134E #531E80 #732AB1 #9245D3 #AF77DF
Accessibility & contrast
On white
7.79
#732AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#732AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732AB1
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732AB1 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#674C6C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #732ab1; /* rgb */ color: rgb(115, 42, 177); /* oklch */ color: oklch(46.4% 0.200 304.0);
Tailwind
colors: {
custom: {
50: '#a16bc9',
500: '#732ab1',
950: '#000000',
},
}SCSS
$custom: #732ab1; $custom-light: #a16bc9; $custom-dark: #000000;
JSON
{
"hex": "#732ab1",
"rgb": {
"r": 115,
"g": 42,
"b": 177
},
"hsl": {
"h": 272.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.4643,
"c": 0.19996,
"h": 304
},
"luminance": 0.08475
}Semantic roles & 50–950 ramp
primary
#732AB1
secondary
#98C670
accent
#E5438D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82