#6A4FBB#6A4FBB
#6A4FBB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.163 H 291.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4FBB |
|---|---|
| RGB | rgb(106, 79, 187) |
| HSL | hsl(255, 44%, 52%) |
| HSV | hsv(255, 58%, 73%) |
| CMYK | cmyk(43.3%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.60, 37.29, -53.36) |
| CIE-LCH | lch(41.60, 65.10, 304.94°) |
| OKLab | oklab(51.22% 0.0585 -0.152) |
| OKLCH | oklch(51.22% 0.163 291.1) |
| XYZ | xyz(17.7070, 12.2434, 48.4343) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.69
Bluey Purple
#6241C7
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 4.46
Royal Purple
#7851A9
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4FBB #A0BB4F
analogous
#4F6ABB #6A4FBB #A04FBB
triadic
#6A4FBB #BB6A4F #4FBB6A
tetradic
#6A4FBB #BB4F6A #A0BB4F #4FBBA0
square
#6A4FBB #BB4F6A #A0BB4F #4FBBA0
split-complementary
#6A4FBB #BBA04F #6ABB4F
monochromatic
#382868 #503994 #6A4FBB #8F7BCC #B5A7DD
Accessibility & contrast
On white
6.09
#6A4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#6A4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4FBB
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4FBB | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0864BF
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#53677D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6a4fbb; /* rgb */ color: rgb(106, 79, 187); /* oklch */ color: oklch(51.2% 0.163 291.1);
Tailwind
colors: {
custom: {
50: '#9a81d0',
500: '#6a4fbb',
950: '#000000',
},
}SCSS
$custom: #6a4fbb; $custom-light: #9a81d0; $custom-dark: #000000;
JSON
{
"hex": "#6a4fbb",
"rgb": {
"r": 106,
"g": 79,
"b": 187
},
"hsl": {
"h": 255,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.51215,
"c": 0.1629,
"h": 291.1
},
"luminance": 0.12244
}Semantic roles & 50–950 ramp
primary
#6A4FBB
secondary
#BFCA9B
accent
#D454B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82