#6A3ACC#6A3ACC
#6A3ACC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.210 H 291.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3ACC |
|---|---|
| RGB | rgb(106, 58, 204) |
| HSL | hsl(260, 59%, 51%) |
| HSV | hsv(260, 72%, 80%) |
| CMYK | cmyk(48%, 71.6%, 0%, 20%) |
| CIE-LAB | lab(38.64, 53.49, -68.08) |
| CIE-LCH | lch(38.64, 86.58, 308.16°) |
| OKLab | oklab(49.47% 0.0785 -0.1953) |
| OKLCH | oklch(49.47% 0.21 291.9) |
| XYZ | xyz(18.3529, 10.4493, 58.1649) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.05
Burple
#6832E3
ΔE00 3.02
Blurple
#5539CC
ΔE00 3.16
Blue With A Hint Of Purple
#533CC6
ΔE00 3.62
Purpley Blue
#5F34E7
ΔE00 3.67
Bluish Purple
#703BE7
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3ACC #9CCC3A
analogous
#3A53CC #6A3ACC #B33ACC
triadic
#6A3ACC #CC6A3A #3ACC6A
tetradic
#6A3ACC #CC3A53 #9CCC3A #3ACCB3
square
#6A3ACC #CC3A53 #9CCC3A #3ACCB3
split-complementary
#6A3ACC #CCB33A #53CC3A
monochromatic
#381D6F #5029A0 #6A3ACC #8F6BD9 #B49BE5
Accessibility & contrast
On white
6.80
#6A3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#6A3ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3ACC
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3ACC | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#4B607F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #6a3acc; /* rgb */ color: rgb(106, 58, 204); /* oklch */ color: oklch(49.5% 0.210 291.9);
Tailwind
colors: {
custom: {
50: '#9d74dd',
500: '#6a3acc',
950: '#000000',
},
}SCSS
$custom: #6a3acc; $custom-light: #9d74dd; $custom-dark: #000000;
JSON
{
"hex": "#6a3acc",
"rgb": {
"r": 106,
"g": 58,
"b": 204
},
"hsl": {
"h": 259.726,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.49474,
"c": 0.21044,
"h": 291.9
},
"luminance": 0.1045
}Semantic roles & 50–950 ramp
primary
#6A3ACC
secondary
#BCD191
accent
#E246AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83