#6E2DAF#6E2DAF
#6E2DAF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.194 H 301.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2DAF |
|---|---|
| RGB | rgb(110, 45, 175) |
| HSL | hsl(270, 59%, 43%) |
| HSV | hsv(270, 74%, 69%) |
| CMYK | cmyk(37.1%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(34.57, 52.84, -57.64) |
| CIE-LCH | lch(34.57, 78.20, 312.51°) |
| OKLab | oklab(45.97% 0.1024 -0.1644) |
| OKLCH | oklch(45.97% 0.194 301.9) |
| XYZ | xyz(15.1048, 8.2869, 41.3529) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.69
Purple (survey)
#7E1E9C
ΔE00 5.23
Purple Blue
#5D21D0
ΔE00 5.58
Bluey Purple
#6241C7
ΔE00 6.24
Blurple
#5539CC
ΔE00 6.58
Blue With A Hint Of Purple
#533CC6
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2DAF #6EAF2D
analogous
#2D2DAF #6E2DAF #AF2DAF
triadic
#6E2DAF #AF6E2D #2DAF6E
tetradic
#6E2DAF #AF2D2D #6EAF2D #2DAFAF
square
#6E2DAF #AF2D2D #6EAF2D #2DAFAF
split-complementary
#6E2DAF #AFAF2D #2DAF2D
monochromatic
#31144E #4F207E #6E2DAF #8D49D0 #AB7ADD
Accessibility & contrast
On white
7.90
#6E2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#6E2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2DAF
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2DAF | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#604E6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6e2daf; /* rgb */ color: rgb(110, 45, 175); /* oklch */ color: oklch(46.0% 0.194 301.9);
Tailwind
colors: {
custom: {
50: '#9d6cc8',
500: '#6e2daf',
950: '#000000',
},
}SCSS
$custom: #6e2daf; $custom-light: #9d6cc8; $custom-dark: #000000;
JSON
{
"hex": "#6e2daf",
"rgb": {
"r": 110,
"g": 45,
"b": 175
},
"hsl": {
"h": 270,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.45969,
"c": 0.19366,
"h": 301.9
},
"luminance": 0.08287
}Semantic roles & 50–950 ramp
primary
#6E2DAF
secondary
#9CC573
accent
#E24694
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82