#6A5CA6#6A5CA6
#6A5CA6 is a mid, moderate violet. Relative luminance 0.135; OKLCH L 52.2% C 0.114 H 290.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5CA6 |
|---|---|
| RGB | rgb(106, 92, 166) |
| HSL | hsl(251, 29%, 51%) |
| HSV | hsv(251, 45%, 65%) |
| CMYK | cmyk(36.1%, 44.6%, 0%, 34.9%) |
| CIE-LAB | lab(43.46, 23.46, -38.03) |
| CIE-LCH | lch(43.46, 44.68, 301.68°) |
| OKLab | oklab(52.2% 0.0402 -0.107) |
| OKLCH | oklch(52.2% 0.114 290.6) |
| XYZ | xyz(16.6521, 13.4712, 37.7919) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.26
Iris
#6258C4
ΔE00 5.99
Slate Blue
#6A5ACD
ΔE00 6.79
Light Indigo
#6D5ACF
ΔE00 7.03
Twilight
#4E518B
ΔE00 7.22
Dark Periwinkle
#665FD1
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5CA6 #98A65C
analogous
#5C73A6 #6A5CA6 #8F5CA6
triadic
#6A5CA6 #A66A5C #5CA66A
tetradic
#6A5CA6 #A65C73 #98A65C #5CA68F
square
#6A5CA6 #A65C73 #98A65C #5CA68F
split-complementary
#6A5CA6 #A68F5C #73A65C
monochromatic
#373058 #50467F #6A5CA6 #8E84BC #B2ABD1
Accessibility & contrast
On white
5.68
#6A5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#6A5CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5CA6
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5CA6 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#5B6A79
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6a5ca6; /* rgb */ color: rgb(106, 92, 166); /* oklch */ color: oklch(52.2% 0.114 290.6);
Tailwind
colors: {
custom: {
50: '#978ac1',
500: '#6a5ca6',
950: '#000000',
},
}SCSS
$custom: #6a5ca6; $custom-light: #978ac1; $custom-dark: #000000;
JSON
{
"hex": "#6a5ca6",
"rgb": {
"r": 106,
"g": 92,
"b": 166
},
"hsl": {
"h": 251.351,
"s": 29.365,
"l": 50.588
},
"oklch": {
"l": 0.52197,
"c": 0.11433,
"h": 290.6
},
"luminance": 0.13472
}Semantic roles & 50–950 ramp
primary
#6A5CA6
secondary
#B9BF9E
accent
#C662B3
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0E0B12
muted
#7E7C81