#6A2FB6#6A2FB6
#6A2FB6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.198 H 298.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FB6 |
|---|---|
| RGB | rgb(106, 47, 182) |
| HSL | hsl(266, 59%, 45%) |
| HSV | hsv(266, 74%, 71%) |
| CMYK | cmyk(41.8%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(34.95, 52.97, -61.21) |
| CIE-LCH | lch(34.95, 80.95, 310.88°) |
| OKLab | oklab(46.3% 0.0932 -0.175) |
| OKLCH | oklch(46.3% 0.198 298) |
| XYZ | xyz(15.4017, 8.4743, 45.0712) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.44
Rebeccapurple
#663399
ΔE00 4.59
Bluey Purple
#6241C7
ΔE00 5.03
Blurple
#5539CC
ΔE00 5.16
Blue With A Hint Of Purple
#533CC6
ΔE00 5.36
Burple
#6832E3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FB6 #7BB62F
analogous
#2F38B6 #6A2FB6 #AD2FB6
triadic
#6A2FB6 #B66A2F #2FB66A
tetradic
#6A2FB6 #B62F38 #7BB62F #2FB6AD
square
#6A2FB6 #B62F38 #7BB62F #2FB6AD
split-complementary
#6A2FB6 #B6AD2F #38B62F
monochromatic
#311655 #4E2285 #6A2FB6 #8950D2 #AA81DE
Accessibility & contrast
On white
7.79
#6A2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#6A2FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FB6
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FB6 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#575270
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6a2fb6; /* rgb */ color: rgb(106, 47, 182); /* oklch */ color: oklch(46.3% 0.198 298.0);
Tailwind
colors: {
custom: {
50: '#9b6dcd',
500: '#6a2fb6',
950: '#000000',
},
}SCSS
$custom: #6a2fb6; $custom-light: #9b6dcd; $custom-dark: #000000;
JSON
{
"hex": "#6a2fb6",
"rgb": {
"r": 106,
"g": 47,
"b": 182
},
"hsl": {
"h": 266.222,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.46302,
"c": 0.19827,
"h": 298
},
"luminance": 0.08475
}Semantic roles & 50–950 ramp
primary
#6A2FB6
secondary
#A5C779
accent
#E2469E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82