#6E52DC#6E52DC
#6E52DC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.5% C 0.201 H 287.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6E52DC |
|---|---|
| RGB | rgb(110, 82, 220) |
| HSL | hsl(252, 66%, 59%) |
| HSV | hsv(252, 63%, 86%) |
| CMYK | cmyk(50%, 62.7%, 0%, 13.7%) |
| CIE-LAB | lab(44.96, 45.90, -66.94) |
| CIE-LCH | lch(44.96, 81.17, 304.43°) |
| OKLab | oklab(54.5% 0.0589 -0.1918) |
| OKLCH | oklch(54.5% 0.201 287.1) |
| XYZ | xyz(22.3622, 14.5158, 69.3198) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.82
Slate Blue
#6A5ACD
ΔE00 3.12
Iris
#6258C4
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 4.39
Purpley
#8756E4
ΔE00 4.67
Purpleish Blue
#6140EF
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E52DC #C0DC52
analogous
#527BDC #6E52DC #B352DC
triadic
#6E52DC #DC6E52 #52DC6E
tetradic
#6E52DC #DC527B #C0DC52 #52DCB3
square
#6E52DC #DC527B #C0DC52 #52DCB3
split-complementary
#6E52DC #DCB352 #7BDC52
monochromatic
#361E95 #4929C8 #6E52DC #9985E6 #C3B8F1
Accessibility & contrast
On white
5.38
#6E52DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#6E52DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E52DC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E52DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E52DC | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#46738F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6e52dc; /* rgb */ color: rgb(110, 82, 220); /* oklch */ color: oklch(54.5% 0.201 287.1);
Tailwind
colors: {
custom: {
50: '#a084e8',
500: '#6e52dc',
950: '#000000',
},
}SCSS
$custom: #6e52dc; $custom-light: #a084e8; $custom-dark: #000000;
JSON
{
"hex": "#6e52dc",
"rgb": {
"r": 110,
"g": 82,
"b": 220
},
"hsl": {
"h": 252.174,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.54503,
"c": 0.20068,
"h": 287.1
},
"luminance": 0.14517
}Semantic roles & 50–950 ramp
primary
#6E52DC
secondary
#D5E0AA
accent
#E93FC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84