#6C52C7#6C52C7
#6C52C7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.174 H 289.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6C52C7 |
|---|---|
| RGB | rgb(108, 82, 199) |
| HSL | hsl(253, 51%, 55%) |
| HSV | hsv(253, 59%, 78%) |
| CMYK | cmyk(45.7%, 58.8%, 0%, 22%) |
| CIE-LAB | lab(43.28, 39.42, -57.62) |
| CIE-LCH | lch(43.28, 69.82, 304.38°) |
| OKLab | oklab(52.75% 0.0575 -0.1645) |
| OKLCH | oklch(52.75% 0.174 289.3) |
| XYZ | xyz(19.5075, 13.3455, 55.5699) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.65
Light Indigo
#6D5ACF
ΔE00 2.67
Iris
#6258C4
ΔE00 2.82
Dark Periwinkle
#665FD1
ΔE00 4.58
Bluey Purple
#6241C7
ΔE00 4.73
Royal Purple
#7851A9
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C52C7 #ADC752
analogous
#5273C7 #6C52C7 #A652C7
triadic
#6C52C7 #C76C52 #52C76C
tetradic
#6C52C7 #C75273 #ADC752 #52C7A6
square
#6C52C7 #C75273 #ADC752 #52C7A6
split-complementary
#6C52C7 #C7A652 #73C752
monochromatic
#392778 #4F36A6 #6C52C7 #9380D6 #BBAEE5
Accessibility & contrast
On white
5.72
#6C52C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#6C52C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C52C7
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C52C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C52C7 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#506C84
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6c52c7; /* rgb */ color: rgb(108, 82, 199); /* oklch */ color: oklch(52.8% 0.174 289.3);
Tailwind
colors: {
custom: {
50: '#9c83d9',
500: '#6c52c7',
950: '#000000',
},
}SCSS
$custom: #6c52c7; $custom-light: #9c83d9; $custom-dark: #000000;
JSON
{
"hex": "#6c52c7",
"rgb": {
"r": 108,
"g": 82,
"b": 199
},
"hsl": {
"h": 253.333,
"s": 51.092,
"l": 55.098
},
"oklch": {
"l": 0.52754,
"c": 0.17426,
"h": 289.3
},
"luminance": 0.13346
}Semantic roles & 50–950 ramp
primary
#6C52C7
secondary
#C8D3A2
accent
#DB4DBB
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B15
muted
#7F7C83