#6A2EC9#6A2EC9
#6A2EC9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.220 H 293.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2EC9 |
|---|---|
| RGB | rgb(106, 46, 201) |
| HSL | hsl(263, 63%, 48%) |
| HSV | hsv(263, 77%, 79%) |
| CMYK | cmyk(47.3%, 77.1%, 0%, 21.2%) |
| CIE-LAB | lab(36.43, 58.23, -69.94) |
| CIE-LCH | lch(36.43, 91.01, 309.78°) |
| OKLab | oklab(47.84% 0.0891 -0.2007) |
| OKLCH | oklch(47.84% 0.22 293.9) |
| XYZ | xyz(17.4606, 9.2347, 56.1095) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.89
Burple
#6832E3
ΔE00 3.61
Blurple
#5539CC
ΔE00 3.75
Bluey Purple
#6241C7
ΔE00 4.02
Purpley Blue
#5F34E7
ΔE00 4.38
Blue With A Hint Of Purple
#533CC6
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2EC9 #8DC92E
analogous
#2E3FC9 #6A2EC9 #B72EC9
triadic
#6A2EC9 #C96A2E #2EC96A
tetradic
#6A2EC9 #C92E3F #8DC92E #2EC9B7
square
#6A2EC9 #C92E3F #8DC92E #2EC9B7
split-complementary
#6A2EC9 #C9B72E #3FC92E
monochromatic
#351765 #502397 #6A2EC9 #8C5BD9 #AF8DE5
Accessibility & contrast
On white
7.38
#6A2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#6A2EC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2EC9
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2EC9 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#4D597B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6a2ec9; /* rgb */ color: rgb(106, 46, 201); /* oklch */ color: oklch(47.8% 0.220 293.9);
Tailwind
colors: {
custom: {
50: '#9e6edb',
500: '#6a2ec9',
950: '#000000',
},
}SCSS
$custom: #6a2ec9; $custom-light: #9e6edb; $custom-dark: #000000;
JSON
{
"hex": "#6a2ec9",
"rgb": {
"r": 106,
"g": 46,
"b": 201
},
"hsl": {
"h": 263.226,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.47843,
"c": 0.21955,
"h": 293.9
},
"luminance": 0.09235
}Semantic roles & 50–950 ramp
primary
#6A2EC9
secondary
#B2CF84
accent
#E642A6
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83