#6C3ACC#6C3ACC
#6C3ACC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.210 H 292.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6C3ACC |
|---|---|
| RGB | rgb(108, 58, 204) |
| HSL | hsl(261, 59%, 51%) |
| HSV | hsv(261, 72%, 80%) |
| CMYK | cmyk(47.1%, 71.6%, 0%, 20%) |
| CIE-LAB | lab(38.85, 53.82, -67.72) |
| CIE-LCH | lch(38.85, 86.50, 308.48°) |
| OKLab | oklab(49.68% 0.0813 -0.1941) |
| OKLCH | oklch(49.68% 0.21 292.7) |
| XYZ | xyz(18.5935, 10.5733, 58.1762) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.25
Burple
#6832E3
ΔE00 3.08
Blurple
#5539CC
ΔE00 3.48
Bluish Purple
#703BE7
ΔE00 3.67
Purpley Blue
#5F34E7
ΔE00 3.81
Blue With A Hint Of Purple
#533CC6
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C3ACC #9ACC3A
analogous
#3A51CC #6C3ACC #B53ACC
triadic
#6C3ACC #CC6C3A #3ACC6C
tetradic
#6C3ACC #CC3A51 #9ACC3A #3ACCB5
square
#6C3ACC #CC3A51 #9ACC3A #3ACCB5
split-complementary
#6C3ACC #CCB53A #51CC3A
monochromatic
#391D6F #5229A0 #6C3ACC #906BD9 #B59BE5
Accessibility & contrast
On white
6.74
#6C3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#6C3ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C3ACC
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C3ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C3ACC | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#4E607F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #6c3acc; /* rgb */ color: rgb(108, 58, 204); /* oklch */ color: oklch(49.7% 0.210 292.7);
Tailwind
colors: {
custom: {
50: '#9e74dd',
500: '#6c3acc',
950: '#000000',
},
}SCSS
$custom: #6c3acc; $custom-light: #9e74dd; $custom-dark: #000000;
JSON
{
"hex": "#6c3acc",
"rgb": {
"r": 108,
"g": 58,
"b": 204
},
"hsl": {
"h": 260.548,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.49676,
"c": 0.21049,
"h": 292.7
},
"luminance": 0.10574
}Semantic roles & 50–950 ramp
primary
#6C3ACC
secondary
#BBD191
accent
#E246AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83