#6C5ABA#6C5ABA
#6C5ABA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.2% C 0.145 H 289.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5ABA |
|---|---|
| RGB | rgb(108, 90, 186) |
| HSL | hsl(251, 41%, 54%) |
| HSV | hsv(251, 52%, 73%) |
| CMYK | cmyk(41.9%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(44.30, 30.91, -48.43) |
| CIE-LCH | lch(44.30, 57.46, 302.55°) |
| OKLab | oklab(53.24% 0.0476 -0.1375) |
| OKLCH | oklch(53.24% 0.145 289.1) |
| XYZ | xyz(18.7010, 14.0450, 48.1705) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 3.11
Light Indigo
#6D5ACF
ΔE00 3.32
Dark Periwinkle
#665FD1
ΔE00 4.30
Royal Purple
#7851A9
ΔE00 5.41
Warm Blue
#4B57DB
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5ABA #A8BA5A
analogous
#5A78BA #6C5ABA #9C5ABA
triadic
#6C5ABA #BA6C5A #5ABA6C
tetradic
#6C5ABA #BA5A78 #A8BA5A #5ABA9C
square
#6C5ABA #BA5A78 #A8BA5A #5ABA9C
split-complementary
#6C5ABA #BA9C5A #78BA5A
monochromatic
#392D6C #503F97 #6C5ABA #9285CC #B9B0DE
Accessibility & contrast
On white
5.51
#6C5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#6C5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5ABA
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5ABA | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#3166B8
Tritanopia (blue-blind)
#566E81
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6c5aba; /* rgb */ color: rgb(108, 90, 186); /* oklch */ color: oklch(53.2% 0.145 289.1);
Tailwind
colors: {
custom: {
50: '#9a89cf',
500: '#6c5aba',
950: '#000000',
},
}SCSS
$custom: #6c5aba; $custom-light: #9a89cf; $custom-dark: #000000;
JSON
{
"hex": "#6c5aba",
"rgb": {
"r": 108,
"g": 90,
"b": 186
},
"hsl": {
"h": 251.25,
"s": 41.026,
"l": 54.118
},
"oklch": {
"l": 0.53239,
"c": 0.14548,
"h": 289.1
},
"luminance": 0.14046
}Semantic roles & 50–950 ramp
primary
#6C5ABA
secondary
#C5CCA3
accent
#D157BA
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82