#6C2EB6#6C2EB6
#6C2EB6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.200 H 299.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2EB6 |
|---|---|
| RGB | rgb(108, 46, 182) |
| HSL | hsl(267, 60%, 45%) |
| HSV | hsv(267, 75%, 71%) |
| CMYK | cmyk(40.7%, 74.7%, 0%, 28.6%) |
| CIE-LAB | lab(35.04, 53.77, -61.05) |
| CIE-LCH | lch(35.04, 81.35, 311.37°) |
| OKLab | oklab(46.42% 0.097 -0.1745) |
| OKLCH | oklch(46.42% 0.2 299.1) |
| XYZ | xyz(15.6027, 8.5193, 45.0693) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.57
Rebeccapurple
#663399
ΔE00 4.59
Bluey Purple
#6241C7
ΔE00 5.27
Blurple
#5539CC
ΔE00 5.47
Blue With A Hint Of Purple
#533CC6
ΔE00 5.69
Burple
#6832E3
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2EB6 #78B62E
analogous
#2E34B6 #6C2EB6 #B02EB6
triadic
#6C2EB6 #B66C2E #2EB66C
tetradic
#6C2EB6 #B62E34 #78B62E #2EB6B0
square
#6C2EB6 #B62E34 #78B62E #2EB6B0
split-complementary
#6C2EB6 #B6B02E #34B62E
monochromatic
#321554 #4F2285 #6C2EB6 #8B4FD2 #AB80DF
Accessibility & contrast
On white
7.77
#6C2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#6C2EB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2EB6
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2EB6 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#5A5170
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6c2eb6; /* rgb */ color: rgb(108, 46, 182); /* oklch */ color: oklch(46.4% 0.200 299.1);
Tailwind
colors: {
custom: {
50: '#9d6dcd',
500: '#6c2eb6',
950: '#000000',
},
}SCSS
$custom: #6c2eb6; $custom-light: #9d6dcd; $custom-dark: #000000;
JSON
{
"hex": "#6c2eb6",
"rgb": {
"r": 108,
"g": 46,
"b": 182
},
"hsl": {
"h": 267.353,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.4642,
"c": 0.19962,
"h": 299.1
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#6C2EB6
secondary
#A3C878
accent
#E3459B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82