#6A2FB5#6A2FB5
#6A2FB5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.197 H 298.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FB5 |
|---|---|
| RGB | rgb(106, 47, 181) |
| HSL | hsl(266, 59%, 45%) |
| HSV | hsv(266, 74%, 71%) |
| CMYK | cmyk(41.4%, 74%, 0%, 29%) |
| CIE-LAB | lab(34.87, 52.72, -60.75) |
| CIE-LCH | lch(34.87, 80.43, 310.95°) |
| OKLab | oklab(46.22% 0.0934 -0.1737) |
| OKLCH | oklch(46.22% 0.197 298.3) |
| XYZ | xyz(15.2987, 8.4332, 44.5288) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.45
Purple Blue
#5D21D0
ΔE00 4.55
Bluey Purple
#6241C7
ΔE00 5.12
Blurple
#5539CC
ΔE00 5.28
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
Burple
#6832E3
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FB5 #7AB52F
analogous
#2F37B5 #6A2FB5 #AD2FB5
triadic
#6A2FB5 #B56A2F #2FB56A
tetradic
#6A2FB5 #B52F37 #7AB52F #2FB5AD
square
#6A2FB5 #B52F37 #7AB52F #2FB5AD
split-complementary
#6A2FB5 #B5AD2F #37B52F
monochromatic
#311654 #4E2284 #6A2FB5 #8950D1 #AA80DE
Accessibility & contrast
On white
7.82
#6A2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#6A2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FB5
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FB5 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#575270
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6a2fb5; /* rgb */ color: rgb(106, 47, 181); /* oklch */ color: oklch(46.2% 0.197 298.3);
Tailwind
colors: {
custom: {
50: '#9b6dcc',
500: '#6a2fb5',
950: '#000000',
},
}SCSS
$custom: #6a2fb5; $custom-light: #9b6dcc; $custom-dark: #000000;
JSON
{
"hex": "#6a2fb5",
"rgb": {
"r": 106,
"g": 47,
"b": 181
},
"hsl": {
"h": 266.418,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.46218,
"c": 0.1972,
"h": 298.3
},
"luminance": 0.08433
}Semantic roles & 50–950 ramp
primary
#6A2FB5
secondary
#A5C779
accent
#E2469D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82