#6D4CD1#6D4CD1
#6D4CD1 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.195 H 289.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4CD1 |
|---|---|
| RGB | rgb(109, 76, 209) |
| HSL | hsl(255, 59%, 56%) |
| HSV | hsv(255, 64%, 82%) |
| CMYK | cmyk(47.8%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(42.80, 45.91, -64.17) |
| CIE-LCH | lch(42.80, 78.90, 305.58°) |
| OKLab | oklab(52.65% 0.0647 -0.1837) |
| OKLCH | oklch(52.65% 0.195 289.4) |
| XYZ | xyz(20.3964, 13.0227, 61.7482) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.05
Bluish Purple
#703BE7
ΔE00 4.28
Iris
#6258C4
ΔE00 4.48
Purpleish Blue
#6140EF
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4CD1 #B0D14C
analogous
#4C6DD1 #6D4CD1 #AF4CD1
triadic
#6D4CD1 #D16D4C #4CD16D
tetradic
#6D4CD1 #D14C6D #B0D14C #4CD1AF
square
#6D4CD1 #D14C6D #B0D14C #4CD1AF
split-complementary
#6D4CD1 #D1AF4C #6DD14C
monochromatic
#392181 #4F2EB2 #6D4CD1 #957DDE #BCADEA
Accessibility & contrast
On white
5.83
#6D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#6D4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D4CD1
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4CD1 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#4C6C88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6d4cd1; /* rgb */ color: rgb(109, 76, 209); /* oklch */ color: oklch(52.7% 0.195 289.4);
Tailwind
colors: {
custom: {
50: '#9f80e0',
500: '#6d4cd1',
950: '#000000',
},
}SCSS
$custom: #6d4cd1; $custom-light: #9f80e0; $custom-dark: #000000;
JSON
{
"hex": "#6d4cd1",
"rgb": {
"r": 109,
"g": 76,
"b": 209
},
"hsl": {
"h": 254.887,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.52651,
"c": 0.19477,
"h": 289.4
},
"luminance": 0.13024
}Semantic roles & 50–950 ramp
primary
#6D4CD1
secondary
#CAD8A1
accent
#E246BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83