#6C52B2#6C52B2
#6C52B2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.147 H 293.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6C52B2 |
|---|---|
| RGB | rgb(108, 82, 178) |
| HSL | hsl(256, 38%, 51%) |
| HSV | hsv(256, 54%, 70%) |
| CMYK | cmyk(39.3%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(41.90, 33.43, -47.59) |
| CIE-LCH | lch(41.90, 58.16, 305.09°) |
| OKLab | oklab(51.3% 0.0573 -0.135) |
| OKLCH | oklch(51.3% 0.147 293) |
| XYZ | xyz(17.2354, 12.4367, 43.6033) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.55
Iris
#6258C4
ΔE00 4.34
Slate Blue
#6A5ACD
ΔE00 5.04
Light Indigo
#6D5ACF
ΔE00 5.19
Bluey Purple
#6241C7
ΔE00 5.98
Dark Periwinkle
#665FD1
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C52B2 #98B252
analogous
#5268B2 #6C52B2 #9C52B2
triadic
#6C52B2 #B26C52 #52B26C
tetradic
#6C52B2 #B25268 #98B252 #52B29C
square
#6C52B2 #B25268 #98B252 #52B29C
split-complementary
#6C52B2 #B29C52 #68B252
monochromatic
#392A5F #523D8A #6C52B2 #907CC5 #B4A7D8
Accessibility & contrast
On white
6.02
#6C52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#6C52B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C52B2
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C52B2 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#5A667A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6c52b2; /* rgb */ color: rgb(108, 82, 178); /* oklch */ color: oklch(51.3% 0.147 293.0);
Tailwind
colors: {
custom: {
50: '#9a83c9',
500: '#6c52b2',
950: '#000000',
},
}SCSS
$custom: #6c52b2; $custom-light: #9a83c9; $custom-dark: #000000;
JSON
{
"hex": "#6c52b2",
"rgb": {
"r": 108,
"g": 82,
"b": 178
},
"hsl": {
"h": 256.25,
"s": 38.4,
"l": 50.98
},
"oklch": {
"l": 0.51297,
"c": 0.14664,
"h": 293
},
"luminance": 0.12437
}Semantic roles & 50–950 ramp
primary
#6C52B2
secondary
#BAC59B
accent
#CE59AF
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82