#6B4EAF#6B4EAF
#6B4EAF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.149 H 294.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4EAF |
|---|---|
| RGB | rgb(107, 78, 175) |
| HSL | hsl(258, 38%, 50%) |
| HSV | hsv(258, 55%, 69%) |
| CMYK | cmyk(38.9%, 55.4%, 0%, 31.4%) |
| CIE-LAB | lab(40.69, 34.72, -47.77) |
| CIE-LCH | lch(40.69, 59.06, 306.01°) |
| OKLab | oklab(50.31% 0.061 -0.1356) |
| OKLCH | oklch(50.31% 0.149 294.2) |
| XYZ | xyz(16.5236, 11.6694, 41.9310) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.45
Iris
#6258C4
ΔE00 5.23
Bluey Purple
#6241C7
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4EAF #92AF4E
analogous
#4E62AF #6B4EAF #9C4EAF
triadic
#6B4EAF #AF6B4E #4EAF6B
tetradic
#6B4EAF #AF4E62 #92AF4E #4EAF9C
square
#6B4EAF #AF4E62 #92AF4E #4EAF9C
split-complementary
#6B4EAF #AF9C4E #62AF4E
monochromatic
#37285A #513B85 #6B4EAF #8E78C3 #B1A2D6
Accessibility & contrast
On white
6.30
#6B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#6B4EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4EAF
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4EAF | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#295EAD
Tritanopia (blue-blind)
#5A6277
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6b4eaf; /* rgb */ color: rgb(107, 78, 175); /* oklch */ color: oklch(50.3% 0.149 294.2);
Tailwind
colors: {
custom: {
50: '#9980c7',
500: '#6b4eaf',
950: '#000000',
},
}SCSS
$custom: #6b4eaf; $custom-light: #9980c7; $custom-dark: #000000;
JSON
{
"hex": "#6b4eaf",
"rgb": {
"r": 107,
"g": 78,
"b": 175
},
"hsl": {
"h": 257.938,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.50313,
"c": 0.14865,
"h": 294.2
},
"luminance": 0.1167
}Semantic roles & 50–950 ramp
primary
#6B4EAF
secondary
#B5C396
accent
#CE5AAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82