#6A52CD#6A52CD
#6A52CD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.182 H 287.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #6A52CD |
|---|---|
| RGB | rgb(106, 82, 205) |
| HSL | hsl(252, 55%, 56%) |
| HSV | hsv(252, 60%, 80%) |
| CMYK | cmyk(48.3%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(43.52, 40.75, -60.72) |
| CIE-LCH | lch(43.52, 73.12, 303.87°) |
| OKLab | oklab(53.02% 0.0547 -0.1736) |
| OKLCH | oklch(53.02% 0.182 287.5) |
| XYZ | xyz(19.9774, 13.5057, 59.3000) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.37
Light Indigo
#6D5ACF
ΔE00 2.39
Iris
#6258C4
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 4.18
Bluey Purple
#6241C7
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A52CD #B5CD52
analogous
#5278CD #6A52CD #A852CD
triadic
#6A52CD #CD6A52 #52CD6A
tetradic
#6A52CD #CD5278 #B5CD52 #52CDA8
square
#6A52CD #CD5278 #B5CD52 #52CDA8
split-complementary
#6A52CD #CDA852 #78CD52
monochromatic
#372580 #4B33AF #6A52CD #9381DB #BCB1E8
Accessibility & contrast
On white
5.67
#6A52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#6A52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A52CD
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A52CD | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#486E88
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6a52cd; /* rgb */ color: rgb(106, 82, 205); /* oklch */ color: oklch(53.0% 0.182 287.5);
Tailwind
colors: {
custom: {
50: '#9c83dd',
500: '#6a52cd',
950: '#000000',
},
}SCSS
$custom: #6a52cd; $custom-light: #9c83dd; $custom-dark: #000000;
JSON
{
"hex": "#6a52cd",
"rgb": {
"r": 106,
"g": 82,
"b": 205
},
"hsl": {
"h": 251.707,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.53016,
"c": 0.18205,
"h": 287.5
},
"luminance": 0.13507
}Semantic roles & 50–950 ramp
primary
#6A52CD
secondary
#CDD7A4
accent
#DE49C1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83