#6A479B#6A479B
#6A479B is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.7% C 0.133 H 300.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6A479B |
|---|---|
| RGB | rgb(106, 71, 155) |
| HSL | hsl(265, 37%, 44%) |
| HSV | hsv(265, 54%, 61%) |
| CMYK | cmyk(31.6%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(37.73, 33.17, -40.58) |
| CIE-LCH | lch(37.73, 52.41, 309.26°) |
| OKLab | oklab(47.7% 0.068 -0.1145) |
| OKLCH | oklch(47.7% 0.133 300.7) |
| XYZ | xyz(14.1121, 9.9371, 32.1786) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.13
Rebeccapurple
#663399
ΔE00 5.26
Darkslateblue
#483D8B
ΔE00 7.21
Blueberry
#464196
ΔE00 7.48
Ocean Blue
#4F42B5
ΔE00 7.60
Bluey Purple
#6241C7
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A479B #789B47
analogous
#474E9B #6A479B #94479B
triadic
#6A479B #9B6A47 #479B6A
tetradic
#6A479B #9B474E #789B47 #479B94
square
#6A479B #9B474E #789B47 #479B94
split-complementary
#6A479B #9B9447 #4E9B47
monochromatic
#312147 #4D3471 #6A479B #8966B9 #A990CC
Accessibility & contrast
On white
7.03
#6A479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#6A479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A479B
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A479B | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28589E
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#60576A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6a479b; /* rgb */ color: rgb(106, 71, 155); /* oklch */ color: oklch(47.7% 0.133 300.7);
Tailwind
colors: {
custom: {
50: '#977bb9',
500: '#6a479b',
950: '#000000',
},
}SCSS
$custom: #6a479b; $custom-light: #977bb9; $custom-dark: #000000;
JSON
{
"hex": "#6a479b",
"rgb": {
"r": 106,
"g": 71,
"b": 155
},
"hsl": {
"h": 265,
"s": 37.168,
"l": 44.314
},
"oklch": {
"l": 0.47701,
"c": 0.13316,
"h": 300.7
},
"luminance": 0.09937
}Semantic roles & 50–950 ramp
primary
#6A479B
secondary
#A3B886
accent
#CD5B9D
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80