#6E52DB#6E52DB
#6E52DB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.199 H 287.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6E52DB |
|---|---|
| RGB | rgb(110, 82, 219) |
| HSL | hsl(252, 66%, 59%) |
| HSV | hsv(252, 63%, 86%) |
| CMYK | cmyk(49.8%, 62.6%, 0%, 14.1%) |
| CIE-LAB | lab(44.89, 45.61, -66.49) |
| CIE-LCH | lch(44.89, 80.63, 304.45°) |
| OKLab | oklab(54.43% 0.059 -0.1905) |
| OKLCH | oklch(54.43% 0.199 287.2) |
| XYZ | xyz(22.2301, 14.4630, 68.6244) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 3.04
Iris
#6258C4
ΔE00 4.28
Dark Periwinkle
#665FD1
ΔE00 4.37
Purpley
#8756E4
ΔE00 4.71
Purpleish Blue
#6140EF
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E52DB #BFDB52
analogous
#527BDB #6E52DB #B352DB
triadic
#6E52DB #DB6E52 #52DB6E
tetradic
#6E52DB #DB527B #BFDB52 #52DBB3
square
#6E52DB #DB527B #BFDB52 #52DBB3
split-complementary
#6E52DB #DBB352 #7BDB52
monochromatic
#371F94 #4929C6 #6E52DB #9885E6 #C3B7F0
Accessibility & contrast
On white
5.39
#6E52DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#6E52DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E52DB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E52DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E52DB | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#47738F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6e52db; /* rgb */ color: rgb(110, 82, 219); /* oklch */ color: oklch(54.4% 0.199 287.2);
Tailwind
colors: {
custom: {
50: '#a084e7',
500: '#6e52db',
950: '#000000',
},
}SCSS
$custom: #6e52db; $custom-light: #a084e7; $custom-dark: #000000;
JSON
{
"hex": "#6e52db",
"rgb": {
"r": 110,
"g": 82,
"b": 219
},
"hsl": {
"h": 252.263,
"s": 65.55,
"l": 59.02
},
"oklch": {
"l": 0.54426,
"c": 0.19945,
"h": 287.2
},
"luminance": 0.14464
}Semantic roles & 50–950 ramp
primary
#6E52DB
secondary
#D4DFAA
accent
#E93FC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84