#6A2CB0#6A2CB0
#6A2CB0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.195 H 299.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2CB0 |
|---|---|
| RGB | rgb(106, 44, 176) |
| HSL | hsl(268, 60%, 43%) |
| HSV | hsv(268, 75%, 69%) |
| CMYK | cmyk(39.8%, 75%, 0%, 31%) |
| CIE-LAB | lab(33.98, 52.82, -59.22) |
| CIE-LCH | lch(33.98, 79.35, 311.73°) |
| OKLab | oklab(45.47% 0.0973 -0.1692) |
| OKLCH | oklch(45.47% 0.195 299.9) |
| XYZ | xyz(14.6791, 8.0000, 41.8367) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.87
Purple Blue
#5D21D0
ΔE00 5.00
Purple (survey)
#7E1E9C
ΔE00 5.80
Bluey Purple
#6241C7
ΔE00 6.05
Blurple
#5539CC
ΔE00 6.10
Blue With A Hint Of Purple
#533CC6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2CB0 #72B02C
analogous
#2C30B0 #6A2CB0 #AC2CB0
triadic
#6A2CB0 #B06A2C #2CB06A
tetradic
#6A2CB0 #B02C30 #72B02C #2CB0AC
square
#6A2CB0 #B02C30 #72B02C #2CB0AC
split-complementary
#6A2CB0 #B0AC2C #30B02C
monochromatic
#2F144E #4D207F #6A2CB0 #8848D1 #A879DD
Accessibility & contrast
On white
8.08
#6A2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6A2CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2CB0
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2CB0 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#5A4E6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2cb0; /* rgb */ color: rgb(106, 44, 176); /* oklch */ color: oklch(45.5% 0.195 299.9);
Tailwind
colors: {
custom: {
50: '#9b6bc9',
500: '#6a2cb0',
950: '#000000',
},
}SCSS
$custom: #6a2cb0; $custom-light: #9b6bc9; $custom-dark: #000000;
JSON
{
"hex": "#6a2cb0",
"rgb": {
"r": 106,
"g": 44,
"b": 176
},
"hsl": {
"h": 268.182,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.45465,
"c": 0.19515,
"h": 299.9
},
"luminance": 0.08
}Semantic roles & 50–950 ramp
primary
#6A2CB0
secondary
#9EC672
accent
#E34599
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82