#6D4DCD#6D4DCD
#6D4DCD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.189 H 289.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4DCD |
|---|---|
| RGB | rgb(109, 77, 205) |
| HSL | hsl(255, 56%, 55%) |
| HSV | hsv(255, 62%, 80%) |
| CMYK | cmyk(46.8%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(42.71, 44.21, -62.01) |
| CIE-LCH | lch(42.71, 76.15, 305.49°) |
| OKLab | oklab(52.5% 0.064 -0.1774) |
| OKLCH | oklch(52.5% 0.189 289.8) |
| XYZ | xyz(19.9769, 12.9660, 59.1959) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 3.73
Slate Blue
#6A5ACD
ΔE00 3.82
Iris
#6258C4
ΔE00 4.13
Bluish Purple
#703BE7
ΔE00 4.81
Purpleish Blue
#6140EF
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4DCD #ADCD4D
analogous
#4D6DCD #6D4DCD #AD4DCD
triadic
#6D4DCD #CD6D4D #4DCD6D
tetradic
#6D4DCD #CD4D6D #ADCD4D #4DCDAD
square
#6D4DCD #CD4D6D #ADCD4D #4DCDAD
split-complementary
#6D4DCD #CDAD4D #6DCD4D
monochromatic
#39237D #4F30AC #6D4DCD #947DDA #BBADE8
Accessibility & contrast
On white
5.84
#6D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6D4DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D4DCD
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4DCD | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#4E6B86
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6d4dcd; /* rgb */ color: rgb(109, 77, 205); /* oklch */ color: oklch(52.5% 0.189 289.8);
Tailwind
colors: {
custom: {
50: '#9e80dd',
500: '#6d4dcd',
950: '#000000',
},
}SCSS
$custom: #6d4dcd; $custom-light: #9e80dd; $custom-dark: #000000;
JSON
{
"hex": "#6d4dcd",
"rgb": {
"r": 109,
"g": 77,
"b": 205
},
"hsl": {
"h": 255,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.52496,
"c": 0.18854,
"h": 289.8
},
"luminance": 0.12967
}Semantic roles & 50–950 ramp
primary
#6D4DCD
secondary
#C8D6A0
accent
#DF48BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83