#6B4FBB#6B4FBB
#6B4FBB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.163 H 291.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4FBB |
|---|---|
| RGB | rgb(107, 79, 187) |
| HSL | hsl(256, 44%, 52%) |
| HSV | hsv(256, 58%, 73%) |
| CMYK | cmyk(42.8%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.70, 37.51, -53.20) |
| CIE-LCH | lch(41.70, 65.10, 305.19°) |
| OKLab | oklab(51.31% 0.0599 -0.1515) |
| OKLCH | oklch(51.31% 0.163 291.6) |
| XYZ | xyz(17.8266, 12.3051, 48.4399) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.81
Bluey Purple
#6241C7
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.36
Light Indigo
#6D5ACF
ΔE00 4.47
Royal Purple
#7851A9
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4FBB #9FBB4F
analogous
#4F69BB #6B4FBB #A14FBB
triadic
#6B4FBB #BB6B4F #4FBB6B
tetradic
#6B4FBB #BB4F69 #9FBB4F #4FBBA1
square
#6B4FBB #BB4F69 #9FBB4F #4FBBA1
split-complementary
#6B4FBB #BBA14F #69BB4F
monochromatic
#382868 #513994 #6B4FBB #907BCC #B5A7DD
Accessibility & contrast
On white
6.07
#6B4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#6B4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4FBB
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4FBB | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#1660B9
Tritanopia (blue-blind)
#55677D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6b4fbb; /* rgb */ color: rgb(107, 79, 187); /* oklch */ color: oklch(51.3% 0.163 291.6);
Tailwind
colors: {
custom: {
50: '#9b81d0',
500: '#6b4fbb',
950: '#000000',
},
}SCSS
$custom: #6b4fbb; $custom-light: #9b81d0; $custom-dark: #000000;
JSON
{
"hex": "#6b4fbb",
"rgb": {
"r": 107,
"g": 79,
"b": 187
},
"hsl": {
"h": 255.556,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.51309,
"c": 0.16292,
"h": 291.6
},
"luminance": 0.12306
}Semantic roles & 50–950 ramp
primary
#6B4FBB
secondary
#BECA9B
accent
#D454B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82