#6A2FAC#6A2FAC
#6A2FAC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.187 H 300.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FAC |
|---|---|
| RGB | rgb(106, 47, 172) |
| HSL | hsl(268, 57%, 43%) |
| HSV | hsv(268, 73%, 67%) |
| CMYK | cmyk(38.4%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(34.14, 50.46, -56.58) |
| CIE-LCH | lch(34.14, 75.81, 311.73°) |
| OKLab | oklab(45.48% 0.0953 -0.1614) |
| OKLCH | oklch(45.48% 0.187 300.6) |
| XYZ | xyz(14.4049, 8.0756, 39.8216) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.15
Purple (survey)
#7E1E9C
ΔE00 5.60
Purple Blue
#5D21D0
ΔE00 5.71
Bluey Purple
#6241C7
ΔE00 6.10
Blurple
#5539CC
ΔE00 6.39
Blue With A Hint Of Purple
#533CC6
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FAC #71AC2F
analogous
#2F32AC #6A2FAC #A82FAC
triadic
#6A2FAC #AC6A2F #2FAC6A
tetradic
#6A2FAC #AC2F32 #71AC2F #2FACA8
square
#6A2FAC #AC2F32 #71AC2F #2FACA8
split-complementary
#6A2FAC #ACA82F #32AC2F
monochromatic
#2F154C #4C227C #6A2FAC #884BCE #A87BDB
Accessibility & contrast
On white
8.03
#6A2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#6A2FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FAC
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FAC | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#5B4E6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2fac; /* rgb */ color: rgb(106, 47, 172); /* oklch */ color: oklch(45.5% 0.187 300.6);
Tailwind
colors: {
custom: {
50: '#9a6dc6',
500: '#6a2fac',
950: '#000000',
},
}SCSS
$custom: #6a2fac; $custom-light: #9a6dc6; $custom-dark: #000000;
JSON
{
"hex": "#6a2fac",
"rgb": {
"r": 106,
"g": 47,
"b": 172
},
"hsl": {
"h": 268.32,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.45476,
"c": 0.18746,
"h": 300.6
},
"luminance": 0.08076
}Semantic roles & 50–950 ramp
primary
#6A2FAC
secondary
#9EC374
accent
#E04798
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82