#6D5F9D#6D5F9D
#6D5F9D is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.6% C 0.097 H 293.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #6D5F9D |
|---|---|
| RGB | rgb(109, 95, 157) |
| HSL | hsl(254, 25%, 49%) |
| HSV | hsv(254, 39%, 62%) |
| CMYK | cmyk(30.6%, 39.5%, 0%, 38.4%) |
| CIE-LAB | lab(44.05, 20.01, -31.76) |
| CIE-LCH | lch(44.05, 37.54, 302.22°) |
| OKLab | oklab(52.55% 0.038 -0.0887) |
| OKLCH | oklch(52.55% 0.097 293.2) |
| XYZ | xyz(16.4832, 13.8697, 33.7004) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 6.34
Dark Lavender
#856798
ΔE00 7.49
Twilight
#4E518B
ΔE00 7.64
Deep Lavender
#8D5EB7
ΔE00 8.17
Dusk
#4E5481
ΔE00 8.23
Iris
#6258C4
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D5F9D #8F9D5F
analogous
#5F709D #6D5F9D #8C5F9D
triadic
#6D5F9D #9D6D5F #5F9D6D
tetradic
#6D5F9D #9D5F70 #8F9D5F #5F9D8C
square
#6D5F9D #9D5F70 #8F9D5F #5F9D8C
split-complementary
#6D5F9D #9D8C5F #709D5F
monochromatic
#383151 #534877 #6D5F9D #8F84B5 #B2ABCC
Accessibility & contrast
On white
5.56
#6D5F9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6D5F9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D5F9D
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D5F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D5F9D | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D699F
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#626A76
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6d5f9d; /* rgb */ color: rgb(109, 95, 157); /* oklch */ color: oklch(52.6% 0.097 293.2);
Tailwind
colors: {
custom: {
50: '#988cba',
500: '#6d5f9d',
950: '#000000',
},
}SCSS
$custom: #6d5f9d; $custom-light: #988cba; $custom-dark: #000000;
JSON
{
"hex": "#6d5f9d",
"rgb": {
"r": 109,
"g": 95,
"b": 157
},
"hsl": {
"h": 253.548,
"s": 24.603,
"l": 49.412
},
"oklch": {
"l": 0.52552,
"c": 0.09652,
"h": 293.2
},
"luminance": 0.1387
}Semantic roles & 50–950 ramp
primary
#6D5F9D
secondary
#B4BA9E
accent
#C167AD
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C11
muted
#7E7D80