#6B3CCC#6B3CCC
#6B3CCC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.208 H 292.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6B3CCC |
|---|---|
| RGB | rgb(107, 60, 204) |
| HSL | hsl(260, 59%, 52%) |
| HSV | hsv(260, 71%, 80%) |
| CMYK | cmyk(47.5%, 70.6%, 0%, 20%) |
| CIE-LAB | lab(39.10, 52.66, -67.32) |
| CIE-LCH | lch(39.10, 85.47, 308.04°) |
| OKLab | oklab(49.83% 0.0781 -0.193) |
| OKLCH | oklch(49.83% 0.208 292) |
| XYZ | xyz(18.5753, 10.7165, 58.2048) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.89
Burple
#6832E3
ΔE00 3.19
Blurple
#5539CC
ΔE00 3.40
Bluish Purple
#703BE7
ΔE00 3.60
Blue With A Hint Of Purple
#533CC6
ΔE00 3.77
Purpley Blue
#5F34E7
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B3CCC #9DCC3C
analogous
#3C55CC #6B3CCC #B33CCC
triadic
#6B3CCC #CC6B3C #3CCC6B
tetradic
#6B3CCC #CC3C55 #9DCC3C #3CCCB3
square
#6B3CCC #CC3C55 #9DCC3C #3CCCB3
split-complementary
#6B3CCC #CCB33C #55CC3C
monochromatic
#381D70 #512AA1 #6B3CCC #906DD9 #B59DE5
Accessibility & contrast
On white
6.68
#6B3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#6B3CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B3CCC
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B3CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B3CCC | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#4C6180
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #6b3ccc; /* rgb */ color: rgb(107, 60, 204); /* oklch */ color: oklch(49.8% 0.208 292.0);
Tailwind
colors: {
custom: {
50: '#9e76dd',
500: '#6b3ccc',
950: '#000000',
},
}SCSS
$custom: #6b3ccc; $custom-light: #9e76dd; $custom-dark: #000000;
JSON
{
"hex": "#6b3ccc",
"rgb": {
"r": 107,
"g": 60,
"b": 204
},
"hsl": {
"h": 259.583,
"s": 58.537,
"l": 51.765
},
"oklch": {
"l": 0.49826,
"c": 0.20822,
"h": 292
},
"luminance": 0.10717
}Semantic roles & 50–950 ramp
primary
#6B3CCC
secondary
#BDD192
accent
#E246AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83