#6B56CD#6B56CD
#6B56CD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.177 H 287.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #6B56CD |
|---|---|
| RGB | rgb(107, 86, 205) |
| HSL | hsl(251, 54%, 57%) |
| HSV | hsv(251, 58%, 80%) |
| CMYK | cmyk(47.8%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(44.50, 38.62, -59.12) |
| CIE-LCH | lch(44.50, 70.61, 303.15°) |
| OKLab | oklab(53.76% 0.0516 -0.1689) |
| OKLCH | oklch(53.76% 0.177 287) |
| XYZ | xyz(20.4074, 14.1883, 59.4091) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.24
Light Indigo
#6D5ACF
ΔE00 1.25
Iris
#6258C4
ΔE00 2.24
Dark Periwinkle
#665FD1
ΔE00 3.13
Warm Blue
#4B57DB
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B56CD #B8CD56
analogous
#567DCD #6B56CD #A656CD
triadic
#6B56CD #CD6B56 #56CD6B
tetradic
#6B56CD #CD567D #B8CD56 #56CDA6
square
#6B56CD #CD567D #B8CD56 #56CDA6
split-complementary
#6B56CD #CDA656 #7DCD56
monochromatic
#372682 #4B34B1 #6B56CD #9485DB #BEB4E9
Accessibility & contrast
On white
5.47
#6B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#6B56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B56CD
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B56CD | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#4A7189
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6b56cd; /* rgb */ color: rgb(107, 86, 205); /* oklch */ color: oklch(53.8% 0.177 287.0);
Tailwind
colors: {
custom: {
50: '#9c86dd',
500: '#6b56cd',
950: '#000000',
},
}SCSS
$custom: #6b56cd; $custom-light: #9c86dd; $custom-dark: #000000;
JSON
{
"hex": "#6b56cd",
"rgb": {
"r": 107,
"g": 86,
"b": 205
},
"hsl": {
"h": 250.588,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.53762,
"c": 0.17661,
"h": 287
},
"luminance": 0.14189
}Semantic roles & 50–950 ramp
primary
#6B56CD
secondary
#CFD8A7
accent
#DE4AC4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83