#6E4EC2#6E4EC2
#6E4EC2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.173 H 292.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6E4EC2 |
|---|---|
| RGB | rgb(110, 78, 194) |
| HSL | hsl(257, 49%, 53%) |
| HSV | hsv(257, 60%, 76%) |
| CMYK | cmyk(43.3%, 59.8%, 0%, 23.9%) |
| CIE-LAB | lab(42.24, 40.74, -56.39) |
| CIE-LCH | lch(42.24, 69.56, 305.85°) |
| OKLab | oklab(51.93% 0.0648 -0.1608) |
| OKLCH | oklch(51.93% 0.173 292) |
| XYZ | xyz(18.8897, 12.6582, 52.4765) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.96
Iris
#6258C4
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.11
Royal Purple
#7851A9
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E4EC2 #A2C24E
analogous
#4E68C2 #6E4EC2 #A84EC2
triadic
#6E4EC2 #C26E4E #4EC26E
tetradic
#6E4EC2 #C24E68 #A2C24E #4EC2A8
square
#6E4EC2 #C24E68 #A2C24E #4EC2A8
split-complementary
#6E4EC2 #C2A84E #68C24E
monochromatic
#3A266F #52369D #6E4EC2 #937CD2 #B9A9E1
Accessibility & contrast
On white
5.95
#6E4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#6E4EC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E4EC2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E4EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E4EC2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#566880
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6e4ec2; /* rgb */ color: rgb(110, 78, 194); /* oklch */ color: oklch(51.9% 0.173 292.0);
Tailwind
colors: {
custom: {
50: '#9d81d5',
500: '#6e4ec2',
950: '#000000',
},
}SCSS
$custom: #6e4ec2; $custom-light: #9d81d5; $custom-dark: #000000;
JSON
{
"hex": "#6e4ec2",
"rgb": {
"r": 110,
"g": 78,
"b": 194
},
"hsl": {
"h": 256.552,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.51931,
"c": 0.17338,
"h": 292
},
"luminance": 0.12659
}Semantic roles & 50–950 ramp
primary
#6E4EC2
secondary
#C1CF9D
accent
#D850B3
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83