#6D52DB#6D52DB
#6D52DB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.200 H 286.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #6D52DB |
|---|---|
| RGB | rgb(109, 82, 219) |
| HSL | hsl(252, 66%, 59%) |
| HSV | hsv(252, 63%, 86%) |
| CMYK | cmyk(50.2%, 62.6%, 0%, 14.1%) |
| CIE-LAB | lab(44.80, 45.42, -66.64) |
| CIE-LCH | lch(44.80, 80.65, 304.28°) |
| OKLab | oklab(54.34% 0.0577 -0.191) |
| OKLCH | oklch(54.34% 0.2 286.8) |
| XYZ | xyz(22.1064, 14.3992, 68.6186) |
| Luminance | 0.1440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 3.00
Iris
#6258C4
ΔE00 4.20
Dark Periwinkle
#665FD1
ΔE00 4.30
Purpleish Blue
#6140EF
ΔE00 4.80
Purpley
#8756E4
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D52DB #C0DB52
analogous
#527CDB #6D52DB #B252DB
triadic
#6D52DB #DB6D52 #52DB6D
tetradic
#6D52DB #DB527C #C0DB52 #52DBB2
square
#6D52DB #DB527C #C0DB52 #52DBB2
split-complementary
#6D52DB #DBB252 #7CDB52
monochromatic
#361F94 #4829C6 #6D52DB #9885E6 #C3B7F0
Accessibility & contrast
On white
5.41
#6D52DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#6D52DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D52DB
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D52DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D52DB | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#45738F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6d52db; /* rgb */ color: rgb(109, 82, 219); /* oklch */ color: oklch(54.3% 0.200 286.8);
Tailwind
colors: {
custom: {
50: '#9f84e7',
500: '#6d52db',
950: '#000000',
},
}SCSS
$custom: #6d52db; $custom-light: #9f84e7; $custom-dark: #000000;
JSON
{
"hex": "#6d52db",
"rgb": {
"r": 109,
"g": 82,
"b": 219
},
"hsl": {
"h": 251.825,
"s": 65.55,
"l": 59.02
},
"oklch": {
"l": 0.54339,
"c": 0.19951,
"h": 286.8
},
"luminance": 0.144
}Semantic roles & 50–950 ramp
primary
#6D52DB
secondary
#D5DFAA
accent
#E93FC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84