#6B52DB#6B52DB
#6B52DB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.200 H 286.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6B52DB |
|---|---|
| RGB | rgb(107, 82, 219) |
| HSL | hsl(251, 66%, 59%) |
| HSV | hsv(251, 63%, 86%) |
| CMYK | cmyk(51.1%, 62.6%, 0%, 14.1%) |
| CIE-LAB | lab(44.62, 45.05, -66.94) |
| CIE-LCH | lch(44.62, 80.69, 303.94°) |
| OKLab | oklab(54.17% 0.0551 -0.1919) |
| OKLCH | oklch(54.17% 0.2 286) |
| XYZ | xyz(21.8631, 14.2738, 68.6072) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 2.95
Iris
#6258C4
ΔE00 4.04
Dark Periwinkle
#665FD1
ΔE00 4.20
Purpleish Blue
#6140EF
ΔE00 4.71
Purpley
#8756E4
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B52DB #C2DB52
analogous
#527EDB #6B52DB #B052DB
triadic
#6B52DB #DB6B52 #52DB6B
tetradic
#6B52DB #DB527E #C2DB52 #52DBB0
square
#6B52DB #DB527E #C2DB52 #52DBB0
split-complementary
#6B52DB #DBB052 #7EDB52
monochromatic
#341F94 #4629C6 #6B52DB #9685E6 #C2B7F0
Accessibility & contrast
On white
5.45
#6B52DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#6B52DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B52DB
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B52DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B52DB | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#40738F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6b52db; /* rgb */ color: rgb(107, 82, 219); /* oklch */ color: oklch(54.2% 0.200 286.0);
Tailwind
colors: {
custom: {
50: '#9e84e7',
500: '#6b52db',
950: '#000000',
},
}SCSS
$custom: #6b52db; $custom-light: #9e84e7; $custom-dark: #000000;
JSON
{
"hex": "#6b52db",
"rgb": {
"r": 107,
"g": 82,
"b": 219
},
"hsl": {
"h": 250.949,
"s": 65.55,
"l": 59.02
},
"oklch": {
"l": 0.54167,
"c": 0.19967,
"h": 286
},
"luminance": 0.14275
}Semantic roles & 50–950 ramp
primary
#6B52DB
secondary
#D5DFAA
accent
#E93FCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84