#6A2FB3#6A2FB3
#6A2FB3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.195 H 298.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FB3 |
|---|---|
| RGB | rgb(106, 47, 179) |
| HSL | hsl(267, 58%, 44%) |
| HSV | hsv(267, 74%, 70%) |
| CMYK | cmyk(40.8%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(34.70, 52.22, -59.83) |
| CIE-LCH | lch(34.70, 79.41, 311.11°) |
| OKLab | oklab(46.05% 0.0939 -0.171) |
| OKLCH | oklch(46.05% 0.195 298.8) |
| XYZ | xyz(15.0950, 8.3517, 43.4558) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.16
Purple Blue
#5D21D0
ΔE00 4.79
Bluey Purple
#6241C7
ΔE00 5.32
Blurple
#5539CC
ΔE00 5.51
Blue With A Hint Of Purple
#533CC6
ΔE00 5.64
Purple (survey)
#7E1E9C
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FB3 #78B32F
analogous
#2F36B3 #6A2FB3 #AC2FB3
triadic
#6A2FB3 #B36A2F #2FB36A
tetradic
#6A2FB3 #B32F36 #78B32F #2FB3AC
square
#6A2FB3 #B32F36 #78B32F #2FB3AC
split-complementary
#6A2FB3 #B3AC2F #36B32F
monochromatic
#311652 #4D2283 #6A2FB3 #894FD1 #A97FDD
Accessibility & contrast
On white
7.86
#6A2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#6A2FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FB3
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FB3 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#58516E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6a2fb3; /* rgb */ color: rgb(106, 47, 179); /* oklch */ color: oklch(46.1% 0.195 298.8);
Tailwind
colors: {
custom: {
50: '#9b6dcb',
500: '#6a2fb3',
950: '#000000',
},
}SCSS
$custom: #6a2fb3; $custom-light: #9b6dcb; $custom-dark: #000000;
JSON
{
"hex": "#6a2fb3",
"rgb": {
"r": 106,
"g": 47,
"b": 179
},
"hsl": {
"h": 266.818,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.46051,
"c": 0.19504,
"h": 298.8
},
"luminance": 0.08352
}Semantic roles & 50–950 ramp
primary
#6A2FB3
secondary
#A3C678
accent
#E2469C
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82