#6B52CA#6B52CA
#6B52CA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.178 H 288.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6B52CA |
|---|---|
| RGB | rgb(107, 82, 202) |
| HSL | hsl(253, 53%, 56%) |
| HSV | hsv(253, 59%, 79%) |
| CMYK | cmyk(47%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.40, 40.08, -59.18) |
| CIE-LCH | lch(43.40, 71.47, 304.11°) |
| OKLab | oklab(52.88% 0.0561 -0.1691) |
| OKLCH | oklch(52.88% 0.178 288.4) |
| XYZ | xyz(19.7383, 13.4238, 57.4167) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.46
Light Indigo
#6D5ACF
ΔE00 2.48
Iris
#6258C4
ΔE00 2.75
Dark Periwinkle
#665FD1
ΔE00 4.35
Bluey Purple
#6241C7
ΔE00 4.70
Warm Blue
#4B57DB
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B52CA #B1CA52
analogous
#5275CA #6B52CA #A752CA
triadic
#6B52CA #CA6B52 #52CA6B
tetradic
#6B52CA #CA5275 #B1CA52 #52CAA7
square
#6B52CA #CA5275 #B1CA52 #52CAA7
split-complementary
#6B52CA #CAA752 #75CA52
monochromatic
#38267C #4D34AB #6B52CA #9381D8 #BBB0E7
Accessibility & contrast
On white
5.70
#6B52CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#6B52CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B52CA
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B52CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B52CA | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#4C6D86
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6b52ca; /* rgb */ color: rgb(107, 82, 202); /* oklch */ color: oklch(52.9% 0.178 288.4);
Tailwind
colors: {
custom: {
50: '#9c83db',
500: '#6b52ca',
950: '#000000',
},
}SCSS
$custom: #6b52ca; $custom-light: #9c83db; $custom-dark: #000000;
JSON
{
"hex": "#6b52ca",
"rgb": {
"r": 107,
"g": 82,
"b": 202
},
"hsl": {
"h": 252.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.52883,
"c": 0.17815,
"h": 288.4
},
"luminance": 0.13425
}Semantic roles & 50–950 ramp
primary
#6B52CA
secondary
#CAD5A3
accent
#DD4BBE
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83