#6F579B#6F579B
#6F579B is a mid, moderate violet. Relative luminance 0.126; OKLCH L 51.1% C 0.107 H 298.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6F579B |
|---|---|
| RGB | rgb(111, 87, 155) |
| HSL | hsl(261, 28%, 47%) |
| HSV | hsv(261, 44%, 61%) |
| CMYK | cmyk(28.4%, 43.9%, 0%, 39.2%) |
| CIE-LAB | lab(42.10, 24.96, -33.62) |
| CIE-LCH | lch(42.10, 41.88, 306.59°) |
| OKLab | oklab(51.09% 0.0518 -0.0941) |
| OKLCH | oklch(51.09% 0.107 298.8) |
| XYZ | xyz(15.8788, 12.5623, 32.5922) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.00
Deep Lavender
#8D5EB7
ΔE00 7.57
Twilight
#4E518B
ΔE00 7.82
Dark Lavender
#856798
ΔE00 8.15
Muted Purple
#805B87
ΔE00 8.32
Iris
#6258C4
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F579B #839B57
analogous
#57619B #6F579B #91579B
triadic
#6F579B #9B6F57 #579B6F
tetradic
#6F579B #9B5761 #839B57 #579B91
square
#6F579B #9B5761 #839B57 #579B91
split-complementary
#6F579B #9B9157 #619B57
monochromatic
#372B4D #534174 #6F579B #8F7BB5 #B0A2CB
Accessibility & contrast
On white
5.98
#6F579B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#6F579B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F579B
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F579B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F579B | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44639E
Deuteranopia (green-blind)
#486399
Tritanopia (blue-blind)
#666371
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6f579b; /* rgb */ color: rgb(111, 87, 155); /* oklch */ color: oklch(51.1% 0.107 298.8);
Tailwind
colors: {
custom: {
50: '#9a86b9',
500: '#6f579b',
950: '#000000',
},
}SCSS
$custom: #6f579b; $custom-light: #9a86b9; $custom-dark: #000000;
JSON
{
"hex": "#6f579b",
"rgb": {
"r": 111,
"g": 87,
"b": 155
},
"hsl": {
"h": 261.176,
"s": 28.099,
"l": 47.451
},
"oklch": {
"l": 0.51088,
"c": 0.10738,
"h": 298.8
},
"luminance": 0.12562
}Semantic roles & 50–950 ramp
primary
#6F579B
secondary
#ACB896
accent
#C463A2
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80