#6F2CA6#6F2CA6
#6F2CA6 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.186 H 305.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2CA6 |
|---|---|
| RGB | rgb(111, 44, 166) |
| HSL | hsl(273, 58%, 41%) |
| HSV | hsv(273, 73%, 65%) |
| CMYK | cmyk(33.1%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(33.85, 51.31, -53.43) |
| CIE-LCH | lch(33.85, 74.08, 313.84°) |
| OKLab | oklab(45.26% 0.1066 -0.152) |
| OKLCH | oklch(45.26% 0.186 305) |
| XYZ | xyz(14.3376, 7.9341, 36.8451) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.73
Purple (survey)
#7E1E9C
ΔE00 4.06
Purple Blue
#5D21D0
ΔE00 6.90
Bluey Purple
#6241C7
ΔE00 7.50
Darkviolet
#9400D3
ΔE00 7.91
Blurple
#5539CC
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2CA6 #63A62C
analogous
#322CA6 #6F2CA6 #A62CA0
triadic
#6F2CA6 #A66F2C #2CA66F
tetradic
#6F2CA6 #A6322C #63A62C #2CA0A6
square
#6F2CA6 #A6322C #63A62C #2CA0A6
split-complementary
#6F2CA6 #A0A62C #2CA632
monochromatic
#2E1245 #4F1F76 #6F2CA6 #8E42CD #AB73DA
Accessibility & contrast
On white
8.12
#6F2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6F2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2CA6
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2CA6 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#654966
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6f2ca6; /* rgb */ color: rgb(111, 44, 166); /* oklch */ color: oklch(45.3% 0.186 305.0);
Tailwind
colors: {
custom: {
50: '#9d6cc1',
500: '#6f2ca6',
950: '#000000',
},
}SCSS
$custom: #6f2ca6; $custom-light: #9d6cc1; $custom-dark: #000000;
JSON
{
"hex": "#6f2ca6",
"rgb": {
"r": 111,
"g": 44,
"b": 166
},
"hsl": {
"h": 272.951,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.45262,
"c": 0.18561,
"h": 305
},
"luminance": 0.07934
}Semantic roles & 50–950 ramp
primary
#6F2CA6
secondary
#93C16D
accent
#E1468C
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81