#6A4FBF#6A4FBF
#6A4FBF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.168 H 290.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4FBF |
|---|---|
| RGB | rgb(106, 79, 191) |
| HSL | hsl(254, 47%, 53%) |
| HSV | hsv(254, 59%, 75%) |
| CMYK | cmyk(44.5%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(41.87, 38.43, -55.26) |
| CIE-LCH | lch(41.87, 67.31, 304.82°) |
| OKLab | oklab(51.5% 0.0585 -0.1576) |
| OKLCH | oklch(51.5% 0.168 290.4) |
| XYZ | xyz(18.1412, 12.4171, 50.7210) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.45
Slate Blue
#6A5ACD
ΔE00 3.94
Bluey Purple
#6241C7
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 4.05
Royal Purple
#7851A9
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4FBF #A4BF4F
analogous
#4F6CBF #6A4FBF #A24FBF
triadic
#6A4FBF #BF6A4F #4FBF6A
tetradic
#6A4FBF #BF4F6C #A4BF4F #4FBFA2
square
#6A4FBF #BF4F6C #A4BF4F #4FBFA2
split-complementary
#6A4FBF #BFA24F #6CBF4F
monochromatic
#38276C #4F3899 #6A4FBF #907CCF #B6A9E0
Accessibility & contrast
On white
6.03
#6A4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#6A4FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4FBF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4FBF | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0560BD
Tritanopia (blue-blind)
#51687F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6a4fbf; /* rgb */ color: rgb(106, 79, 191); /* oklch */ color: oklch(51.5% 0.168 290.4);
Tailwind
colors: {
custom: {
50: '#9a81d3',
500: '#6a4fbf',
950: '#000000',
},
}SCSS
$custom: #6a4fbf; $custom-light: #9a81d3; $custom-dark: #000000;
JSON
{
"hex": "#6a4fbf",
"rgb": {
"r": 106,
"g": 79,
"b": 191
},
"hsl": {
"h": 254.464,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.51501,
"c": 0.16811,
"h": 290.4
},
"luminance": 0.12418
}Semantic roles & 50–950 ramp
primary
#6A4FBF
secondary
#C1CD9D
accent
#D651B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83