#6F4AAF#6F4AAF
#6F4AAF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.155 H 297.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #6F4AAF |
|---|---|
| RGB | rgb(111, 74, 175) |
| HSL | hsl(262, 41%, 49%) |
| HSV | hsv(262, 58%, 69%) |
| CMYK | cmyk(36.6%, 57.7%, 0%, 31.4%) |
| CIE-LAB | lab(40.20, 38.03, -48.53) |
| CIE-LCH | lch(40.20, 61.66, 308.08°) |
| OKLab | oklab(50.05% 0.0713 -0.1377) |
| OKLCH | oklch(50.05% 0.155 297.4) |
| XYZ | xyz(16.7402, 11.3720, 41.8622) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.23
Bluey Purple
#6241C7
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 6.38
Iris
#6258C4
ΔE00 6.42
Rebeccapurple
#663399
ΔE00 6.71
Slate Blue
#6A5ACD
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F4AAF #8AAF4A
analogous
#4A58AF #6F4AAF #A24AAF
triadic
#6F4AAF #AF6F4A #4AAF6F
tetradic
#6F4AAF #AF4A58 #8AAF4A #4AAFA2
square
#6F4AAF #AF4A58 #8AAF4A #4AAFA2
split-complementary
#6F4AAF #AFA24A #58AF4A
monochromatic
#382659 #543884 #6F4AAF #9073C4 #B29ED6
Accessibility & contrast
On white
6.41
#6F4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#6F4AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F4AAF
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F4AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F4AAF | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#605F75
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6f4aaf; /* rgb */ color: rgb(111, 74, 175); /* oklch */ color: oklch(50.1% 0.155 297.4);
Tailwind
colors: {
custom: {
50: '#9c7ec7',
500: '#6f4aaf',
950: '#000000',
},
}SCSS
$custom: #6f4aaf; $custom-light: #9c7ec7; $custom-dark: #000000;
JSON
{
"hex": "#6f4aaf",
"rgb": {
"r": 111,
"g": 74,
"b": 175
},
"hsl": {
"h": 261.98,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.50052,
"c": 0.15507,
"h": 297.4
},
"luminance": 0.11372
}Semantic roles & 50–950 ramp
primary
#6F4AAF
secondary
#B1C292
accent
#D057A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82