#6C52DB#6C52DB
#6C52DB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.200 H 286.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6C52DB |
|---|---|
| RGB | rgb(108, 82, 219) |
| HSL | hsl(251, 66%, 59%) |
| HSV | hsv(251, 63%, 86%) |
| CMYK | cmyk(50.7%, 62.6%, 0%, 14.1%) |
| CIE-LAB | lab(44.71, 45.23, -66.79) |
| CIE-LCH | lch(44.71, 80.67, 304.11°) |
| OKLab | oklab(54.25% 0.0564 -0.1915) |
| OKLCH | oklch(54.25% 0.2 286.4) |
| XYZ | xyz(21.9840, 14.3361, 68.6129) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 2.97
Iris
#6258C4
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.25
Purpleish Blue
#6140EF
ΔE00 4.75
Purpley
#8756E4
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C52DB #C1DB52
analogous
#527DDB #6C52DB #B152DB
triadic
#6C52DB #DB6C52 #52DB6C
tetradic
#6C52DB #DB527D #C1DB52 #52DBB1
square
#6C52DB #DB527D #C1DB52 #52DBB1
split-complementary
#6C52DB #DBB152 #7DDB52
monochromatic
#351F94 #4729C6 #6C52DB #9785E6 #C2B7F0
Accessibility & contrast
On white
5.43
#6C52DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#6C52DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C52DB
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C52DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C52DB | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#42738F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6c52db; /* rgb */ color: rgb(108, 82, 219); /* oklch */ color: oklch(54.3% 0.200 286.4);
Tailwind
colors: {
custom: {
50: '#9f84e7',
500: '#6c52db',
950: '#000000',
},
}SCSS
$custom: #6c52db; $custom-light: #9f84e7; $custom-dark: #000000;
JSON
{
"hex": "#6c52db",
"rgb": {
"r": 108,
"g": 82,
"b": 219
},
"hsl": {
"h": 251.387,
"s": 65.55,
"l": 59.02
},
"oklch": {
"l": 0.54253,
"c": 0.19959,
"h": 286.4
},
"luminance": 0.14337
}Semantic roles & 50–950 ramp
primary
#6C52DB
secondary
#D5DFAA
accent
#E93FC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84