#6B56BB#6B56BB
#6B56BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.5% C 0.153 H 289.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6B56BB |
|---|---|
| RGB | rgb(107, 86, 187) |
| HSL | hsl(252, 43%, 54%) |
| HSV | hsv(252, 54%, 73%) |
| CMYK | cmyk(42.8%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(43.31, 33.36, -50.60) |
| CIE-LCH | lch(43.31, 60.61, 303.40°) |
| OKLab | oklab(52.5% 0.0514 -0.1439) |
| OKLCH | oklch(52.5% 0.153 289.7) |
| XYZ | xyz(18.3583, 13.3686, 48.6172) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 3.12
Light Indigo
#6D5ACF
ΔE00 3.33
Dark Periwinkle
#665FD1
ΔE00 4.70
Royal Purple
#7851A9
ΔE00 5.09
Bluey Purple
#6241C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B56BB #A6BB56
analogous
#5673BB #6B56BB #9D56BB
triadic
#6B56BB #BB6B56 #56BB6B
tetradic
#6B56BB #BB5673 #A6BB56 #56BB9D
square
#6B56BB #BB5673 #A6BB56 #56BB9D
split-complementary
#6B56BB #BB9D56 #73BB56
monochromatic
#392B6B #503D97 #6B56BB #9182CD #B7ADDE
Accessibility & contrast
On white
5.72
#6B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#6B56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B56BB
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B56BB | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#546B80
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6b56bb; /* rgb */ color: rgb(107, 86, 187); /* oklch */ color: oklch(52.5% 0.153 289.7);
Tailwind
colors: {
custom: {
50: '#9a86d0',
500: '#6b56bb',
950: '#000000',
},
}SCSS
$custom: #6b56bb; $custom-light: #9a86d0; $custom-dark: #000000;
JSON
{
"hex": "#6b56bb",
"rgb": {
"r": 107,
"g": 86,
"b": 187
},
"hsl": {
"h": 252.475,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.52504,
"c": 0.15276,
"h": 289.7
},
"luminance": 0.13369
}Semantic roles & 50–950 ramp
primary
#6B56BB
secondary
#C3CCA1
accent
#D255B8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82