#6A4CC2#6A4CC2
#6A4CC2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.176 H 290.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4CC2 |
|---|---|
| RGB | rgb(106, 76, 194) |
| HSL | hsl(255, 49%, 53%) |
| HSV | hsv(255, 61%, 76%) |
| CMYK | cmyk(45.4%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(41.42, 41.03, -57.74) |
| CIE-LCH | lch(41.42, 70.84, 305.40°) |
| OKLab | oklab(51.24% 0.0618 -0.1649) |
| OKLCH | oklch(51.24% 0.176 290.5) |
| XYZ | xyz(18.2632, 12.1275, 52.4070) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.17
Iris
#6258C4
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 5.38
Blue With A Hint Of Purple
#533CC6
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4CC2 #A4C24C
analogous
#4C69C2 #6A4CC2 #A54CC2
triadic
#6A4CC2 #C26A4C #4CC26A
tetradic
#6A4CC2 #C24C69 #A4C24C #4CC2A5
square
#6A4CC2 #C24C69 #A4C24C #4CC2A5
split-complementary
#6A4CC2 #C2A54C #69C24C
monochromatic
#38266E #4F359C #6A4CC2 #907AD2 #B6A7E1
Accessibility & contrast
On white
6.13
#6A4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#6A4CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4CC2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4CC2 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#4F6780
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6a4cc2; /* rgb */ color: rgb(106, 76, 194); /* oklch */ color: oklch(51.2% 0.176 290.5);
Tailwind
colors: {
custom: {
50: '#9b7fd5',
500: '#6a4cc2',
950: '#000000',
},
}SCSS
$custom: #6a4cc2; $custom-light: #9b7fd5; $custom-dark: #000000;
JSON
{
"hex": "#6a4cc2",
"rgb": {
"r": 106,
"g": 76,
"b": 194
},
"hsl": {
"h": 255.254,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.51235,
"c": 0.1761,
"h": 290.5
},
"luminance": 0.12128
}Semantic roles & 50–950 ramp
primary
#6A4CC2
secondary
#C1CE9B
accent
#D94FB6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83