#6A2CAD#6A2CAD
#6A2CAD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.192 H 300.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2CAD |
|---|---|
| RGB | rgb(106, 44, 173) |
| HSL | hsl(269, 59%, 43%) |
| HSV | hsv(269, 75%, 68%) |
| CMYK | cmyk(38.7%, 74.6%, 0%, 32.2%) |
| CIE-LAB | lab(33.74, 52.08, -57.83) |
| CIE-LCH | lch(33.74, 77.82, 312.00°) |
| OKLab | oklab(45.22% 0.098 -0.1651) |
| OKLCH | oklch(45.22% 0.192 300.7) |
| XYZ | xyz(14.3855, 7.8826, 40.2907) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.46
Purple Blue
#5D21D0
ΔE00 5.41
Purple (survey)
#7E1E9C
ΔE00 5.49
Bluey Purple
#6241C7
ΔE00 6.37
Blurple
#5539CC
ΔE00 6.47
Blue With A Hint Of Purple
#533CC6
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2CAD #6FAD2C
analogous
#2C2FAD #6A2CAD #AA2CAD
triadic
#6A2CAD #AD6A2C #2CAD6A
tetradic
#6A2CAD #AD2C2F #6FAD2C #2CADAA
square
#6A2CAD #AD2C2F #6FAD2C #2CADAA
split-complementary
#6A2CAD #ADAA2C #2FAD2C
monochromatic
#2E134B #4C207C #6A2CAD #8846D0 #A877DC
Accessibility & contrast
On white
8.15
#6A2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6A2CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2CAD
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2CAD | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#5B4D6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6a2cad; /* rgb */ color: rgb(106, 44, 173); /* oklch */ color: oklch(45.2% 0.192 300.7);
Tailwind
colors: {
custom: {
50: '#9b6bc6',
500: '#6a2cad',
950: '#000000',
},
}SCSS
$custom: #6a2cad; $custom-light: #9b6bc6; $custom-dark: #000000;
JSON
{
"hex": "#6a2cad",
"rgb": {
"r": 106,
"g": 44,
"b": 173
},
"hsl": {
"h": 268.837,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.45216,
"c": 0.19197,
"h": 300.7
},
"luminance": 0.07883
}Semantic roles & 50–950 ramp
primary
#6A2CAD
secondary
#9CC471
accent
#E34597
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82