#6E4DAF#6E4DAF
#6E4DAF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.150 H 296.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6E4DAF |
|---|---|
| RGB | rgb(110, 77, 175) |
| HSL | hsl(260, 39%, 49%) |
| HSV | hsv(260, 56%, 69%) |
| CMYK | cmyk(37.1%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(40.76, 36.05, -47.63) |
| CIE-LCH | lch(40.76, 59.73, 307.12°) |
| OKLab | oklab(50.44% 0.0662 -0.1351) |
| OKLCH | oklch(50.44% 0.15 296.1) |
| XYZ | xyz(16.8202, 11.7176, 41.9247) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.98
Bluey Purple
#6241C7
ΔE00 5.52
Iris
#6258C4
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 6.37
Light Indigo
#6D5ACF
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E4DAF #8EAF4D
analogous
#4D5DAF #6E4DAF #9F4DAF
triadic
#6E4DAF #AF6E4D #4DAF6E
tetradic
#6E4DAF #AF4D5D #8EAF4D #4DAF9F
square
#6E4DAF #AF4D5D #8EAF4D #4DAF9F
split-complementary
#6E4DAF #AF9F4D #5DAF4D
monochromatic
#39285A #533A85 #6E4DAF #9076C3 #B3A1D6
Accessibility & contrast
On white
6.28
#6E4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#6E4DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E4DAF
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E4DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E4DAF | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#5F6176
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6e4daf; /* rgb */ color: rgb(110, 77, 175); /* oklch */ color: oklch(50.4% 0.150 296.1);
Tailwind
colors: {
custom: {
50: '#9b80c7',
500: '#6e4daf',
950: '#000000',
},
}SCSS
$custom: #6e4daf; $custom-light: #9b80c7; $custom-dark: #000000;
JSON
{
"hex": "#6e4daf",
"rgb": {
"r": 110,
"g": 77,
"b": 175
},
"hsl": {
"h": 260.204,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.50442,
"c": 0.15042,
"h": 296.1
},
"luminance": 0.11718
}Semantic roles & 50–950 ramp
primary
#6E4DAF
secondary
#B3C395
accent
#CF59A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82