#6A32B1#6A32B1
#6A32B1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.189 H 298.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6A32B1 |
|---|---|
| RGB | rgb(106, 50, 177) |
| HSL | hsl(266, 56%, 45%) |
| HSV | hsv(266, 72%, 69%) |
| CMYK | cmyk(40.1%, 71.8%, 0%, 30.6%) |
| CIE-LAB | lab(35.04, 50.30, -58.09) |
| CIE-LCH | lch(35.04, 76.84, 310.89°) |
| OKLab | oklab(46.24% 0.0914 -0.1659) |
| OKLCH | oklch(46.24% 0.189 298.9) |
| XYZ | xyz(15.0183, 8.5195, 42.4396) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.82
Bluey Purple
#6241C7
ΔE00 5.12
Purple Blue
#5D21D0
ΔE00 5.28
Blurple
#5539CC
ΔE00 5.55
Blue With A Hint Of Purple
#533CC6
ΔE00 5.59
Purple (survey)
#7E1E9C
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A32B1 #79B132
analogous
#3239B1 #6A32B1 #AA32B1
triadic
#6A32B1 #B16A32 #32B16A
tetradic
#6A32B1 #B13239 #79B132 #32B1AA
square
#6A32B1 #B13239 #79B132 #32B1AA
split-complementary
#6A32B1 #B1AA32 #39B132
monochromatic
#311752 #4D2581 #6A32B1 #8952CE #A982DC
Accessibility & contrast
On white
7.77
#6A32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#6A32B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A32B1
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A32B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A32B1 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#59516E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6a32b1; /* rgb */ color: rgb(106, 50, 177); /* oklch */ color: oklch(46.2% 0.189 298.9);
Tailwind
colors: {
custom: {
50: '#9b6fc9',
500: '#6a32b1',
950: '#000000',
},
}SCSS
$custom: #6a32b1; $custom-light: #9b6fc9; $custom-dark: #000000;
JSON
{
"hex": "#6a32b1",
"rgb": {
"r": 106,
"g": 50,
"b": 177
},
"hsl": {
"h": 266.457,
"s": 55.947,
"l": 44.51
},
"oklch": {
"l": 0.46239,
"c": 0.1894,
"h": 298.9
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#6A32B1
secondary
#A4C57A
accent
#DF499D
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82