#6A2FB7#6A2FB7
#6A2FB7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.199 H 297.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2FB7 |
|---|---|
| RGB | rgb(106, 47, 183) |
| HSL | hsl(266, 59%, 45%) |
| HSV | hsv(266, 74%, 72%) |
| CMYK | cmyk(42.1%, 74.3%, 0%, 28.2%) |
| CIE-LAB | lab(35.03, 53.23, -61.66) |
| CIE-LCH | lch(35.03, 81.46, 310.80°) |
| OKLab | oklab(46.39% 0.0929 -0.1764) |
| OKLCH | oklch(46.39% 0.199 297.8) |
| XYZ | xyz(15.5054, 8.5158, 45.6174) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.33
Rebeccapurple
#663399
ΔE00 4.73
Bluey Purple
#6241C7
ΔE00 4.94
Blurple
#5539CC
ΔE00 5.05
Blue With A Hint Of Purple
#533CC6
ΔE00 5.27
Burple
#6832E3
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2FB7 #7CB72F
analogous
#2F38B7 #6A2FB7 #AE2FB7
triadic
#6A2FB7 #B76A2F #2FB76A
tetradic
#6A2FB7 #B72F38 #7CB72F #2FB7AE
square
#6A2FB7 #B72F38 #7CB72F #2FB7AE
split-complementary
#6A2FB7 #B7AE2F #38B72F
monochromatic
#321656 #4E2286 #6A2FB7 #8951D2 #AA82DF
Accessibility & contrast
On white
7.77
#6A2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#6A2FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2FB7
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2FB7 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#565271
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6a2fb7; /* rgb */ color: rgb(106, 47, 183); /* oklch */ color: oklch(46.4% 0.199 297.8);
Tailwind
colors: {
custom: {
50: '#9c6dce',
500: '#6a2fb7',
950: '#000000',
},
}SCSS
$custom: #6a2fb7; $custom-light: #9c6dce; $custom-dark: #000000;
JSON
{
"hex": "#6a2fb7",
"rgb": {
"r": 106,
"g": 47,
"b": 183
},
"hsl": {
"h": 266.029,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.46386,
"c": 0.19935,
"h": 297.8
},
"luminance": 0.08516
}Semantic roles & 50–950 ramp
primary
#6A2FB7
secondary
#A6C87A
accent
#E2459E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82