#6A2CAF#6A2CAF
#6A2CAF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.194 H 300.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2CAF |
|---|---|
| RGB | rgb(106, 44, 175) |
| HSL | hsl(268, 60%, 43%) |
| HSV | hsv(268, 75%, 69%) |
| CMYK | cmyk(39.4%, 74.9%, 0%, 31.4%) |
| CIE-LAB | lab(33.90, 52.57, -58.76) |
| CIE-LCH | lch(33.90, 78.84, 311.82°) |
| OKLab | oklab(45.38% 0.0975 -0.1678) |
| OKLCH | oklch(45.38% 0.194 300.2) |
| XYZ | xyz(14.5805, 7.9605, 41.3175) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.73
Purple Blue
#5D21D0
ΔE00 5.14
Purple (survey)
#7E1E9C
ΔE00 5.69
Bluey Purple
#6241C7
ΔE00 6.16
Blurple
#5539CC
ΔE00 6.22
Blue With A Hint Of Purple
#533CC6
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2CAF #71AF2C
analogous
#2C30AF #6A2CAF #AB2CAF
triadic
#6A2CAF #AF6A2C #2CAF6A
tetradic
#6A2CAF #AF2C30 #71AF2C #2CAFAB
square
#6A2CAF #AF2C30 #71AF2C #2CAFAB
split-complementary
#6A2CAF #AFAB2C #30AF2C
monochromatic
#2F134D #4C207E #6A2CAF #8847D1 #A878DD
Accessibility & contrast
On white
8.10
#6A2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6A2CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2CAF
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2CAF | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5A4E6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2caf; /* rgb */ color: rgb(106, 44, 175); /* oklch */ color: oklch(45.4% 0.194 300.2);
Tailwind
colors: {
custom: {
50: '#9b6bc8',
500: '#6a2caf',
950: '#000000',
},
}SCSS
$custom: #6a2caf; $custom-light: #9b6bc8; $custom-dark: #000000;
JSON
{
"hex": "#6a2caf",
"rgb": {
"r": 106,
"g": 44,
"b": 175
},
"hsl": {
"h": 268.397,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.45382,
"c": 0.19409,
"h": 300.2
},
"luminance": 0.07961
}Semantic roles & 50–950 ramp
primary
#6A2CAF
secondary
#9EC572
accent
#E34598
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82