#6C2EB4#6C2EB4
#6C2EB4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 299.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2EB4 |
|---|---|
| RGB | rgb(108, 46, 180) |
| HSL | hsl(268, 59%, 44%) |
| HSV | hsv(268, 74%, 71%) |
| CMYK | cmyk(40%, 74.4%, 0%, 29.4%) |
| CIE-LAB | lab(34.88, 53.27, -60.13) |
| CIE-LCH | lch(34.88, 80.33, 311.54°) |
| OKLab | oklab(46.25% 0.0975 -0.1718) |
| OKLCH | oklch(46.25% 0.198 299.6) |
| XYZ | xyz(15.3975, 8.4372, 43.9885) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.32
Purple Blue
#5D21D0
ΔE00 4.80
Bluey Purple
#6241C7
ΔE00 5.47
Blurple
#5539CC
ΔE00 5.69
Blue With A Hint Of Purple
#533CC6
ΔE00 5.88
Purple (survey)
#7E1E9C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2EB4 #76B42E
analogous
#2E33B4 #6C2EB4 #AF2EB4
triadic
#6C2EB4 #B46C2E #2EB46C
tetradic
#6C2EB4 #B42E33 #76B42E #2EB4AF
square
#6C2EB4 #B42E33 #76B42E #2EB4AF
split-complementary
#6C2EB4 #B4AF2E #33B42E
monochromatic
#321553 #4F2283 #6C2EB4 #8B4ED2 #AB7EDE
Accessibility & contrast
On white
7.81
#6C2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#6C2EB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2EB4
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2EB4 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#5B506F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6c2eb4; /* rgb */ color: rgb(108, 46, 180); /* oklch */ color: oklch(46.3% 0.198 299.6);
Tailwind
colors: {
custom: {
50: '#9d6dcb',
500: '#6c2eb4',
950: '#000000',
},
}SCSS
$custom: #6c2eb4; $custom-light: #9d6dcb; $custom-dark: #000000;
JSON
{
"hex": "#6c2eb4",
"rgb": {
"r": 108,
"g": 46,
"b": 180
},
"hsl": {
"h": 267.761,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.46253,
"c": 0.19751,
"h": 299.6
},
"luminance": 0.08437
}Semantic roles & 50–950 ramp
primary
#6C2EB4
secondary
#A2C777
accent
#E2459A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82