#6B56BF#6B56BF
#6B56BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.8% C 0.158 H 289.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6B56BF |
|---|---|
| RGB | rgb(107, 86, 191) |
| HSL | hsl(252, 45%, 54%) |
| HSV | hsv(252, 55%, 75%) |
| CMYK | cmyk(44%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(43.57, 34.52, -52.52) |
| CIE-LCH | lch(43.57, 62.85, 303.32°) |
| OKLab | oklab(52.78% 0.0515 -0.1495) |
| OKLCH | oklch(52.78% 0.158 289) |
| XYZ | xyz(18.7925, 13.5423, 50.9039) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.19
Slate Blue
#6A5ACD
ΔE00 2.54
Light Indigo
#6D5ACF
ΔE00 2.74
Dark Periwinkle
#665FD1
ΔE00 4.23
Royal Purple
#7851A9
ΔE00 5.57
Bluey Purple
#6241C7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B56BF #AABF56
analogous
#5676BF #6B56BF #A056BF
triadic
#6B56BF #BF6B56 #56BF6B
tetradic
#6B56BF #BF5676 #AABF56 #56BFA0
square
#6B56BF #BF5676 #AABF56 #56BFA0
split-complementary
#6B56BF #BFA056 #76BF56
monochromatic
#382A70 #4F3B9D #6B56BF #9282D0 #B9AFE1
Accessibility & contrast
On white
5.66
#6B56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6B56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B56BF
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B56BF | 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)
#1F69C3
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#526D82
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6b56bf; /* rgb */ color: rgb(107, 86, 191); /* oklch */ color: oklch(52.8% 0.158 289.0);
Tailwind
colors: {
custom: {
50: '#9b86d3',
500: '#6b56bf',
950: '#000000',
},
}SCSS
$custom: #6b56bf; $custom-light: #9b86d3; $custom-dark: #000000;
JSON
{
"hex": "#6b56bf",
"rgb": {
"r": 107,
"g": 86,
"b": 191
},
"hsl": {
"h": 252,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.52776,
"c": 0.15813,
"h": 289
},
"luminance": 0.13543
}Semantic roles & 50–950 ramp
primary
#6B56BF
secondary
#C6CFA2
accent
#D553BB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83