#6A2CAE#6A2CAE
#6A2CAE is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.193 H 300.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2CAE |
|---|---|
| RGB | rgb(106, 44, 174) |
| HSL | hsl(269, 60%, 43%) |
| HSV | hsv(269, 75%, 68%) |
| CMYK | cmyk(39.1%, 74.7%, 0%, 31.8%) |
| CIE-LAB | lab(33.82, 52.32, -58.30) |
| CIE-LCH | lch(33.82, 78.33, 311.91°) |
| OKLab | oklab(45.3% 0.0977 -0.1665) |
| OKLCH | oklch(45.3% 0.193 300.4) |
| XYZ | xyz(14.4826, 7.9214, 40.8022) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.60
Purple Blue
#5D21D0
ΔE00 5.27
Purple (survey)
#7E1E9C
ΔE00 5.59
Bluey Purple
#6241C7
ΔE00 6.26
Blurple
#5539CC
ΔE00 6.34
Blue With A Hint Of Purple
#533CC6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2CAE #70AE2C
analogous
#2C2FAE #6A2CAE #AB2CAE
triadic
#6A2CAE #AE6A2C #2CAE6A
tetradic
#6A2CAE #AE2C2F #70AE2C #2CAEAB
square
#6A2CAE #AE2C2F #70AE2C #2CAEAB
split-complementary
#6A2CAE #AEAB2C #2FAE2C
monochromatic
#2E134C #4C207D #6A2CAE #8847D0 #A878DD
Accessibility & contrast
On white
8.13
#6A2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6A2CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2CAE
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2CAE | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5A4D6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2cae; /* rgb */ color: rgb(106, 44, 174); /* oklch */ color: oklch(45.3% 0.193 300.4);
Tailwind
colors: {
custom: {
50: '#9b6bc7',
500: '#6a2cae',
950: '#000000',
},
}SCSS
$custom: #6a2cae; $custom-light: #9b6bc7; $custom-dark: #000000;
JSON
{
"hex": "#6a2cae",
"rgb": {
"r": 106,
"g": 44,
"b": 174
},
"hsl": {
"h": 268.615,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.45299,
"c": 0.19303,
"h": 300.4
},
"luminance": 0.07922
}Semantic roles & 50–950 ramp
primary
#6A2CAE
secondary
#9DC571
accent
#E34598
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82