#6D52CD#6D52CD
#6D52CD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.182 H 288.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6D52CD |
|---|---|
| RGB | rgb(109, 82, 205) |
| HSL | hsl(253, 55%, 56%) |
| HSV | hsv(253, 60%, 80%) |
| CMYK | cmyk(46.8%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(43.79, 41.36, -60.26) |
| CIE-LCH | lch(43.79, 73.09, 304.46°) |
| OKLab | oklab(53.28% 0.0586 -0.1722) |
| OKLCH | oklch(53.28% 0.182 288.8) |
| XYZ | xyz(20.3403, 13.6928, 59.3170) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.37
Slate Blue
#6A5ACD
ΔE00 2.48
Iris
#6258C4
ΔE00 3.12
Dark Periwinkle
#665FD1
ΔE00 4.36
Bluey Purple
#6241C7
ΔE00 4.86
Purpley
#8756E4
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D52CD #B2CD52
analogous
#5275CD #6D52CD #AB52CD
triadic
#6D52CD #CD6D52 #52CD6D
tetradic
#6D52CD #CD5275 #B2CD52 #52CDAB
square
#6D52CD #CD5275 #B2CD52 #52CDAB
split-complementary
#6D52CD #CDAB52 #75CD52
monochromatic
#392580 #4E33AF #6D52CD #9581DB #BDB1E8
Accessibility & contrast
On white
5.62
#6D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#6D52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D52CD
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D52CD | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#4E6E88
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6d52cd; /* rgb */ color: rgb(109, 82, 205); /* oklch */ color: oklch(53.3% 0.182 288.8);
Tailwind
colors: {
custom: {
50: '#9e84dd',
500: '#6d52cd',
950: '#000000',
},
}SCSS
$custom: #6d52cd; $custom-light: #9e84dd; $custom-dark: #000000;
JSON
{
"hex": "#6d52cd",
"rgb": {
"r": 109,
"g": 82,
"b": 205
},
"hsl": {
"h": 253.171,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.53282,
"c": 0.18191,
"h": 288.8
},
"luminance": 0.13694
}Semantic roles & 50–950 ramp
primary
#6D52CD
secondary
#CCD7A4
accent
#DE49BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83