#6C2FB3#6C2FB3
#6C2FB3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.195 H 299.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2FB3 |
|---|---|
| RGB | rgb(108, 47, 179) |
| HSL | hsl(268, 58%, 44%) |
| HSV | hsv(268, 74%, 70%) |
| CMYK | cmyk(39.7%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(34.95, 52.57, -59.41) |
| CIE-LCH | lch(34.95, 79.33, 311.50°) |
| OKLab | oklab(46.28% 0.0968 -0.1697) |
| OKLCH | oklch(46.28% 0.195 299.7) |
| XYZ | xyz(15.3355, 8.4757, 43.4671) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.15
Purple Blue
#5D21D0
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.43
Blurple
#5539CC
ΔE00 5.73
Blue With A Hint Of Purple
#533CC6
ΔE00 5.88
Purple (survey)
#7E1E9C
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2FB3 #76B32F
analogous
#2F34B3 #6C2FB3 #AE2FB3
triadic
#6C2FB3 #B36C2F #2FB36C
tetradic
#6C2FB3 #B32F34 #76B32F #2FB3AE
square
#6C2FB3 #B32F34 #76B32F #2FB3AE
split-complementary
#6C2FB3 #B3AE2F #34B32F
monochromatic
#321652 #4F2283 #6C2FB3 #8B4FD1 #AB7FDD
Accessibility & contrast
On white
7.79
#6C2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#6C2FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2FB3
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2FB3 | 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)
#0052B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#5B506E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6c2fb3; /* rgb */ color: rgb(108, 47, 179); /* oklch */ color: oklch(46.3% 0.195 299.7);
Tailwind
colors: {
custom: {
50: '#9c6dcb',
500: '#6c2fb3',
950: '#000000',
},
}SCSS
$custom: #6c2fb3; $custom-light: #9c6dcb; $custom-dark: #000000;
JSON
{
"hex": "#6c2fb3",
"rgb": {
"r": 108,
"g": 47,
"b": 179
},
"hsl": {
"h": 267.727,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.46282,
"c": 0.19533,
"h": 299.7
},
"luminance": 0.08476
}Semantic roles & 50–950 ramp
primary
#6C2FB3
secondary
#A2C678
accent
#E2469A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82