#6D56CD#6D56CD
#6D56CD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.176 H 287.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #6D56CD |
|---|---|
| RGB | rgb(109, 86, 205) |
| HSL | hsl(252, 54%, 57%) |
| HSV | hsv(252, 58%, 80%) |
| CMYK | cmyk(46.8%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(44.68, 39.04, -58.82) |
| CIE-LCH | lch(44.68, 70.59, 303.57°) |
| OKLab | oklab(53.94% 0.0542 -0.168) |
| OKLCH | oklch(53.94% 0.176 287.9) |
| XYZ | xyz(20.6507, 14.3137, 59.4205) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.24
Slate Blue
#6A5ACD
ΔE00 1.39
Iris
#6258C4
ΔE00 2.54
Dark Periwinkle
#665FD1
ΔE00 3.30
Purpley
#8756E4
ΔE00 5.57
Warm Blue
#4B57DB
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D56CD #B6CD56
analogous
#567ACD #6D56CD #A956CD
triadic
#6D56CD #CD6D56 #56CD6D
tetradic
#6D56CD #CD567A #B6CD56 #56CDA9
square
#6D56CD #CD567A #B6CD56 #56CDA9
split-complementary
#6D56CD #CDA956 #7ACD56
monochromatic
#382682 #4D34B1 #6D56CD #9685DB #BFB4E9
Accessibility & contrast
On white
5.44
#6D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#6D56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D56CD
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D56CD | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#4E7189
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6d56cd; /* rgb */ color: rgb(109, 86, 205); /* oklch */ color: oklch(53.9% 0.176 287.9);
Tailwind
colors: {
custom: {
50: '#9d86dd',
500: '#6d56cd',
950: '#000000',
},
}SCSS
$custom: #6d56cd; $custom-light: #9d86dd; $custom-dark: #000000;
JSON
{
"hex": "#6d56cd",
"rgb": {
"r": 109,
"g": 86,
"b": 205
},
"hsl": {
"h": 251.597,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.53936,
"c": 0.17649,
"h": 287.9
},
"luminance": 0.14315
}Semantic roles & 50–950 ramp
primary
#6D56CD
secondary
#CED8A7
accent
#DE4AC1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83