#6D51CD#6D51CD
#6D51CD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.183 H 289.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6D51CD |
|---|---|
| RGB | rgb(109, 81, 205) |
| HSL | hsl(254, 55%, 56%) |
| HSV | hsv(254, 60%, 80%) |
| CMYK | cmyk(46.8%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(43.57, 41.94, -60.61) |
| CIE-LCH | lch(43.57, 73.71, 304.68°) |
| OKLab | oklab(53.12% 0.0597 -0.1733) |
| OKLCH | oklch(53.12% 0.183 289) |
| XYZ | xyz(20.2654, 13.5430, 59.2921) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.65
Slate Blue
#6A5ACD
ΔE00 2.75
Iris
#6258C4
ΔE00 3.31
Bluey Purple
#6241C7
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 4.62
Bluish Purple
#703BE7
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D51CD #B1CD51
analogous
#5173CD #6D51CD #AB51CD
triadic
#6D51CD #CD6D51 #51CD6D
tetradic
#6D51CD #CD5173 #B1CD51 #51CDAB
square
#6D51CD #CD5173 #B1CD51 #51CDAB
split-complementary
#6D51CD #CDAB51 #73CD51
monochromatic
#39257F #4E32AF #6D51CD #9581DB #BDB0E8
Accessibility & contrast
On white
5.66
#6D51CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6D51CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D51CD
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D51CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D51CD | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#4E6E87
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6d51cd; /* rgb */ color: rgb(109, 81, 205); /* oklch */ color: oklch(53.1% 0.183 289.0);
Tailwind
colors: {
custom: {
50: '#9e83dd',
500: '#6d51cd',
950: '#000000',
},
}SCSS
$custom: #6d51cd; $custom-light: #9e83dd; $custom-dark: #000000;
JSON
{
"hex": "#6d51cd",
"rgb": {
"r": 109,
"g": 81,
"b": 205
},
"hsl": {
"h": 253.548,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.53122,
"c": 0.18325,
"h": 289
},
"luminance": 0.13544
}Semantic roles & 50–950 ramp
primary
#6D51CD
secondary
#CBD7A3
accent
#DF49BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83