#6A2CB2#6A2CB2
#6A2CB2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.197 H 299.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2CB2 |
|---|---|
| RGB | rgb(106, 44, 178) |
| HSL | hsl(268, 60%, 44%) |
| HSV | hsv(268, 75%, 70%) |
| CMYK | cmyk(40.4%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(34.15, 53.31, -60.14) |
| CIE-LCH | lch(34.15, 80.37, 311.55°) |
| OKLab | oklab(45.63% 0.0968 -0.1719) |
| OKLCH | oklch(45.63% 0.197 299.4) |
| XYZ | xyz(14.8784, 8.0797, 42.8865) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.14
Purple Blue
#5D21D0
ΔE00 4.74
Bluey Purple
#6241C7
ΔE00 5.85
Blurple
#5539CC
ΔE00 5.86
Purple (survey)
#7E1E9C
ΔE00 6.01
Blue With A Hint Of Purple
#533CC6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2CB2 #74B22C
analogous
#2C31B2 #6A2CB2 #AD2CB2
triadic
#6A2CB2 #B26A2C #2CB26A
tetradic
#6A2CB2 #B22C31 #74B22C #2CB2AD
square
#6A2CB2 #B22C31 #74B22C #2CB2AD
split-complementary
#6A2CB2 #B2AD2C #31B22C
monochromatic
#301450 #4D2081 #6A2CB2 #8849D2 #A87ADE
Accessibility & contrast
On white
8.03
#6A2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#6A2CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2CB2
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2CB2 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#594F6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2cb2; /* rgb */ color: rgb(106, 44, 178); /* oklch */ color: oklch(45.6% 0.197 299.4);
Tailwind
colors: {
custom: {
50: '#9b6cca',
500: '#6a2cb2',
950: '#000000',
},
}SCSS
$custom: #6a2cb2; $custom-light: #9b6cca; $custom-dark: #000000;
JSON
{
"hex": "#6a2cb2",
"rgb": {
"r": 106,
"g": 44,
"b": 178
},
"hsl": {
"h": 267.761,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.45633,
"c": 0.19727,
"h": 299.4
},
"luminance": 0.0808
}Semantic roles & 50–950 ramp
primary
#6A2CB2
secondary
#A0C673
accent
#E4449A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82