#6C2DC1#6C2DC1
#6C2DC1 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.212 H 296.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2DC1 |
|---|---|
| RGB | rgb(108, 45, 193) |
| HSL | hsl(266, 62%, 47%) |
| HSV | hsv(266, 77%, 76%) |
| CMYK | cmyk(44%, 76.7%, 0%, 24.3%) |
| CIE-LAB | lab(35.82, 56.94, -66.26) |
| CIE-LCH | lch(35.82, 87.37, 310.67°) |
| OKLab | oklab(47.25% 0.0951 -0.1898) |
| OKLCH | oklch(47.25% 0.212 296.6) |
| XYZ | xyz(16.7458, 8.9148, 51.2802) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.43
Blurple
#5539CC
ΔE00 4.53
Bluey Purple
#6241C7
ΔE00 4.58
Burple
#6832E3
ΔE00 4.77
Blue With A Hint Of Purple
#533CC6
ΔE00 5.01
Purply Blue
#661AEE
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2DC1 #82C12D
analogous
#2D38C1 #6C2DC1 #B62DC1
triadic
#6C2DC1 #C16C2D #2DC16C
tetradic
#6C2DC1 #C12D38 #82C12D #2DC1B6
square
#6C2DC1 #C12D38 #82C12D #2DC1B6
split-complementary
#6C2DC1 #C1B62D #38C12D
monochromatic
#34165E #50218F #6C2DC1 #8C54D7 #AD86E3
Accessibility & contrast
On white
7.55
#6C2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#6C2DC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2DC1
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2DC1 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#555576
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #6c2dc1; /* rgb */ color: rgb(108, 45, 193); /* oklch */ color: oklch(47.3% 0.212 296.6);
Tailwind
colors: {
custom: {
50: '#9e6dd5',
500: '#6c2dc1',
950: '#000000',
},
}SCSS
$custom: #6c2dc1; $custom-light: #9e6dd5; $custom-dark: #000000;
JSON
{
"hex": "#6c2dc1",
"rgb": {
"r": 108,
"g": 45,
"b": 193
},
"hsl": {
"h": 265.541,
"s": 62.185,
"l": 46.667
},
"oklch": {
"l": 0.47253,
"c": 0.21225,
"h": 296.6
},
"luminance": 0.08915
}Semantic roles & 50–950 ramp
primary
#6C2DC1
secondary
#ABCC7E
accent
#E543A0
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83