#6F2CB2#6F2CB2
#6F2CB2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.198 H 301.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2CB2 |
|---|---|
| RGB | rgb(111, 44, 178) |
| HSL | hsl(270, 60%, 44%) |
| HSV | hsv(270, 75%, 70%) |
| CMYK | cmyk(37.6%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(34.79, 54.18, -59.06) |
| CIE-LCH | lch(34.79, 80.15, 312.53°) |
| OKLab | oklab(46.23% 0.1041 -0.1685) |
| OKLCH | oklch(46.23% 0.198 301.7) |
| XYZ | xyz(15.4902, 8.3951, 42.9152) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.15
Purple Blue
#5D21D0
ΔE00 5.26
Purple (survey)
#7E1E9C
ΔE00 5.38
Bluey Purple
#6241C7
ΔE00 6.11
Blurple
#5539CC
ΔE00 6.40
Blue With A Hint Of Purple
#533CC6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2CB2 #6FB22C
analogous
#2C2CB2 #6F2CB2 #B22CB2
triadic
#6F2CB2 #B26F2C #2CB26F
tetradic
#6F2CB2 #B22C2C #6FB22C #2CB2B2
square
#6F2CB2 #B22C2C #6FB22C #2CB2B2
split-complementary
#6F2CB2 #B2B22C #2CB22C
monochromatic
#321450 #502081 #6F2CB2 #8E49D2 #AC7ADE
Accessibility & contrast
On white
7.84
#6F2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#6F2CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2CB2
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2CB2 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#604E6D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6f2cb2; /* rgb */ color: rgb(111, 44, 178); /* oklch */ color: oklch(46.2% 0.198 301.7);
Tailwind
colors: {
custom: {
50: '#9e6cca',
500: '#6f2cb2',
950: '#000000',
},
}SCSS
$custom: #6f2cb2; $custom-light: #9e6cca; $custom-dark: #000000;
JSON
{
"hex": "#6f2cb2",
"rgb": {
"r": 111,
"g": 44,
"b": 178
},
"hsl": {
"h": 270,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.46227,
"c": 0.19807,
"h": 301.7
},
"luminance": 0.08395
}Semantic roles & 50–950 ramp
primary
#6F2CB2
secondary
#9DC673
accent
#E44494
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82