#6A5CB0#6A5CB0
#6A5CB0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 52.8% C 0.129 H 288.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5CB0 |
|---|---|
| RGB | rgb(106, 92, 176) |
| HSL | hsl(250, 35%, 53%) |
| HSV | hsv(250, 48%, 69%) |
| CMYK | cmyk(39.8%, 47.7%, 0%, 31%) |
| CIE-LAB | lab(44.02, 26.31, -43.04) |
| CIE-LCH | lch(44.02, 50.44, 301.44°) |
| OKLab | oklab(52.8% 0.0416 -0.1217) |
| OKLCH | oklch(52.8% 0.129 288.9) |
| XYZ | xyz(17.6053, 13.8525, 42.8121) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.15
Slate Blue
#6A5ACD
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.13
Royal Purple
#7851A9
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5CB0 #A2B05C
analogous
#5C78B0 #6A5CB0 #945CB0
triadic
#6A5CB0 #B06A5C #5CB06A
tetradic
#6A5CB0 #B05C78 #A2B05C #5CB094
square
#6A5CB0 #B05C78 #A2B05C #5CB094
split-complementary
#6A5CB0 #B0945C #78B05C
monochromatic
#383062 #4F448B #6A5CB0 #9085C4 #B5AED8
Accessibility & contrast
On white
5.57
#6A5CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6A5CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5CB0
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5CB0 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6AB3
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#576D7D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6a5cb0; /* rgb */ color: rgb(106, 92, 176); /* oklch */ color: oklch(52.8% 0.129 288.9);
Tailwind
colors: {
custom: {
50: '#988ac8',
500: '#6a5cb0',
950: '#000000',
},
}SCSS
$custom: #6a5cb0; $custom-light: #988ac8; $custom-dark: #000000;
JSON
{
"hex": "#6a5cb0",
"rgb": {
"r": 106,
"g": 92,
"b": 176
},
"hsl": {
"h": 250,
"s": 34.711,
"l": 52.549
},
"oklch": {
"l": 0.52797,
"c": 0.1286,
"h": 288.9
},
"luminance": 0.13853
}Semantic roles & 50–950 ramp
primary
#6A5CB0
secondary
#C0C6A2
accent
#CB5DB8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82