#6D4BB1#6D4BB1
#6D4BB1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.156 H 295.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4BB1 |
|---|---|
| RGB | rgb(109, 75, 177) |
| HSL | hsl(260, 40%, 49%) |
| HSV | hsv(260, 58%, 69%) |
| CMYK | cmyk(38.4%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(40.34, 37.51, -49.50) |
| CIE-LCH | lch(40.34, 62.11, 307.16°) |
| OKLab | oklab(50.15% 0.0674 -0.1406) |
| OKLCH | oklch(50.15% 0.156 295.6) |
| XYZ | xyz(16.7565, 11.4574, 42.9151) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.59
Bluey Purple
#6241C7
ΔE00 4.83
Iris
#6258C4
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 6.41
Light Indigo
#6D5ACF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4BB1 #8FB14B
analogous
#4B5CB1 #6D4BB1 #A04BB1
triadic
#6D4BB1 #B16D4B #4BB16D
tetradic
#6D4BB1 #B14B5C #8FB14B #4BB1A0
square
#6D4BB1 #B14B5C #8FB14B #4BB1A0
split-complementary
#6D4BB1 #B1A04B #5CB14B
monochromatic
#38275B #533986 #6D4BB1 #8F75C4 #B2A0D7
Accessibility & contrast
On white
6.38
#6D4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#6D4BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D4BB1
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4BB1 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1560B4
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#5C6177
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6d4bb1; /* rgb */ color: rgb(109, 75, 177); /* oklch */ color: oklch(50.1% 0.156 295.6);
Tailwind
colors: {
custom: {
50: '#9b7ec9',
500: '#6d4bb1',
950: '#000000',
},
}SCSS
$custom: #6d4bb1; $custom-light: #9b7ec9; $custom-dark: #000000;
JSON
{
"hex": "#6d4bb1",
"rgb": {
"r": 109,
"g": 75,
"b": 177
},
"hsl": {
"h": 260,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.50147,
"c": 0.15592,
"h": 295.6
},
"luminance": 0.11458
}Semantic roles & 50–950 ramp
primary
#6D4BB1
secondary
#B4C394
accent
#D057A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82