#6A2FAF#6A2FAF
#6A2FAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.191 H 299.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FAF |
|---|---|
| RGB | rgb(106, 47, 175) |
| HSL | hsl(268, 58%, 44%) |
| HSV | hsv(268, 73%, 69%) |
| CMYK | cmyk(39.4%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(34.38, 51.21, -57.98) |
| CIE-LCH | lch(34.38, 77.36, 311.45°) |
| OKLab | oklab(45.72% 0.0947 -0.1655) |
| OKLCH | oklch(45.72% 0.191 299.8) |
| XYZ | xyz(14.6963, 8.1922, 41.3561) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.58
Purple Blue
#5D21D0
ΔE00 5.30
Bluey Purple
#6241C7
ΔE00 5.75
Purple (survey)
#7E1E9C
ΔE00 5.89
Blurple
#5539CC
ΔE00 6.00
Blue With A Hint Of Purple
#533CC6
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FAF #74AF2F
analogous
#2F34AF #6A2FAF #AA2FAF
triadic
#6A2FAF #AF6A2F #2FAF6A
tetradic
#6A2FAF #AF2F34 #74AF2F #2FAFAA
square
#6A2FAF #AF2F34 #74AF2F #2FAFAA
split-complementary
#6A2FAF #AFAA2F #34AF2F
monochromatic
#30154F #4D227F #6A2FAF #884CCF #A87CDC
Accessibility & contrast
On white
7.96
#6A2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#6A2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FAF
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FAF | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#5A4F6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6a2faf; /* rgb */ color: rgb(106, 47, 175); /* oklch */ color: oklch(45.7% 0.191 299.8);
Tailwind
colors: {
custom: {
50: '#9b6dc8',
500: '#6a2faf',
950: '#000000',
},
}SCSS
$custom: #6a2faf; $custom-light: #9b6dc8; $custom-dark: #000000;
JSON
{
"hex": "#6a2faf",
"rgb": {
"r": 106,
"g": 47,
"b": 175
},
"hsl": {
"h": 267.656,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.4572,
"c": 0.19072,
"h": 299.8
},
"luminance": 0.08192
}Semantic roles & 50–950 ramp
primary
#6A2FAF
secondary
#A0C475
accent
#E1479A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82