#6E54AF#6E54AF
#6E54AF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.6% C 0.140 H 294.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6E54AF |
|---|---|
| RGB | rgb(110, 84, 175) |
| HSL | hsl(257, 36%, 51%) |
| HSV | hsv(257, 52%, 69%) |
| CMYK | cmyk(37.1%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(42.38, 31.90, -45.04) |
| CIE-LCH | lch(42.38, 55.19, 305.31°) |
| OKLab | oklab(51.64% 0.0571 -0.1274) |
| OKLCH | oklch(51.64% 0.14 294.1) |
| XYZ | xyz(17.3366, 12.7504, 42.0968) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.00
Iris
#6258C4
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.57
Bluey Purple
#6241C7
ΔE00 6.93
Dark Periwinkle
#665FD1
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E54AF #95AF54
analogous
#5467AF #6E54AF #9B54AF
triadic
#6E54AF #AF6E54 #54AF6E
tetradic
#6E54AF #AF5467 #95AF54 #54AF9B
square
#6E54AF #AF5467 #95AF54 #54AF9B
split-complementary
#6E54AF #AF9B54 #67AF54
monochromatic
#3A2C5D #543F87 #6E54AF #917EC3 #B5A7D6
Accessibility & contrast
On white
5.92
#6E54AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6E54AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E54AF
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E54AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E54AF | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#5E6679
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6e54af; /* rgb */ color: rgb(110, 84, 175); /* oklch */ color: oklch(51.6% 0.140 294.1);
Tailwind
colors: {
custom: {
50: '#9b85c7',
500: '#6e54af',
950: '#000000',
},
}SCSS
$custom: #6e54af; $custom-light: #9b85c7; $custom-dark: #000000;
JSON
{
"hex": "#6e54af",
"rgb": {
"r": 110,
"g": 84,
"b": 175
},
"hsl": {
"h": 257.143,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.51643,
"c": 0.13966,
"h": 294.1
},
"luminance": 0.12751
}Semantic roles & 50–950 ramp
primary
#6E54AF
secondary
#B8C49B
accent
#CC5CAC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82