#6E2BA9#6E2BA9
#6E2BA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.190 H 303.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2BA9 |
|---|---|
| RGB | rgb(110, 43, 169) |
| HSL | hsl(272, 59%, 42%) |
| HSV | hsv(272, 75%, 66%) |
| CMYK | cmyk(34.9%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(33.79, 52.27, -55.33) |
| CIE-LCH | lch(33.79, 76.12, 313.37°) |
| OKLab | oklab(45.27% 0.1055 -0.1576) |
| OKLCH | oklch(45.27% 0.19 303.8) |
| XYZ | xyz(14.4541, 7.9074, 38.2932) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.08
Purple (survey)
#7E1E9C
ΔE00 4.44
Purple Blue
#5D21D0
ΔE00 6.32
Bluey Purple
#6241C7
ΔE00 7.17
Violet Blue
#510AC9
ΔE00 7.42
Blurple
#5539CC
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2BA9 #66A92B
analogous
#2F2BA9 #6E2BA9 #A92BA5
triadic
#6E2BA9 #A96E2B #2BA96E
tetradic
#6E2BA9 #A92F2B #66A92B #2BA5A9
square
#6E2BA9 #A92F2B #66A92B #2BA5A9
split-complementary
#6E2BA9 #A5A92B #2BA92F
monochromatic
#2E1247 #4E1F78 #6E2BA9 #8D42CF #AB73DB
Accessibility & contrast
On white
8.14
#6E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6E2BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2BA9
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2BA9 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#624A68
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6e2ba9; /* rgb */ color: rgb(110, 43, 169); /* oklch */ color: oklch(45.3% 0.190 303.8);
Tailwind
colors: {
custom: {
50: '#9d6bc3',
500: '#6e2ba9',
950: '#000000',
},
}SCSS
$custom: #6e2ba9; $custom-light: #9d6bc3; $custom-dark: #000000;
JSON
{
"hex": "#6e2ba9",
"rgb": {
"r": 110,
"g": 43,
"b": 169
},
"hsl": {
"h": 271.905,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.45267,
"c": 0.18966,
"h": 303.8
},
"luminance": 0.07907
}Semantic roles & 50–950 ramp
primary
#6E2BA9
secondary
#95C36D
accent
#E3458F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82