#6A56BB#6A56BB
#6A56BB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.4% C 0.153 H 289.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6A56BB |
|---|---|
| RGB | rgb(106, 86, 187) |
| HSL | hsl(252, 43%, 54%) |
| HSV | hsv(252, 54%, 73%) |
| CMYK | cmyk(43.3%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(43.22, 33.13, -50.75) |
| CIE-LCH | lch(43.22, 60.61, 303.13°) |
| OKLab | oklab(52.41% 0.0501 -0.1443) |
| OKLCH | oklch(52.41% 0.153 289.1) |
| XYZ | xyz(18.2388, 13.3070, 48.6116) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.41
Slate Blue
#6A5ACD
ΔE00 3.07
Light Indigo
#6D5ACF
ΔE00 3.32
Dark Periwinkle
#665FD1
ΔE00 4.63
Royal Purple
#7851A9
ΔE00 5.25
Bluey Purple
#6241C7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A56BB #A7BB56
analogous
#5674BB #6A56BB #9C56BB
triadic
#6A56BB #BB6A56 #56BB6A
tetradic
#6A56BB #BB5674 #A7BB56 #56BB9C
square
#6A56BB #BB5674 #A7BB56 #56BB9C
split-complementary
#6A56BB #BB9C56 #74BB56
monochromatic
#382B6B #4F3D97 #6A56BB #9082CD #B7ADDE
Accessibility & contrast
On white
5.74
#6A56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6A56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A56BB
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A56BB | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#526C80
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6a56bb; /* rgb */ color: rgb(106, 86, 187); /* oklch */ color: oklch(52.4% 0.153 289.1);
Tailwind
colors: {
custom: {
50: '#9986d0',
500: '#6a56bb',
950: '#000000',
},
}SCSS
$custom: #6a56bb; $custom-light: #9986d0; $custom-dark: #000000;
JSON
{
"hex": "#6a56bb",
"rgb": {
"r": 106,
"g": 86,
"b": 187
},
"hsl": {
"h": 251.881,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.52414,
"c": 0.15279,
"h": 289.1
},
"luminance": 0.13308
}Semantic roles & 50–950 ramp
primary
#6A56BB
secondary
#C3CCA1
accent
#D255BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82