#6F2FA5#6F2FA5
#6F2FA5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.181 H 305.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2FA5 |
|---|---|
| RGB | rgb(111, 47, 165) |
| HSL | hsl(273, 56%, 42%) |
| HSV | hsv(273, 72%, 65%) |
| CMYK | cmyk(32.7%, 71.5%, 0%, 35.3%) |
| CIE-LAB | lab(34.25, 49.72, -52.17) |
| CIE-LCH | lch(34.25, 72.07, 313.62°) |
| OKLab | oklab(45.53% 0.1037 -0.1483) |
| OKLCH | oklch(45.53% 0.181 305) |
| XYZ | xyz(14.3621, 8.1292, 36.4025) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.41
Purple (survey)
#7E1E9C
ΔE00 4.23
Purple Blue
#5D21D0
ΔE00 7.19
Bluey Purple
#6241C7
ΔE00 7.32
Blue With A Hint Of Purple
#533CC6
ΔE00 7.90
Blurple
#5539CC
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2FA5 #65A52F
analogous
#342FA5 #6F2FA5 #A52FA0
triadic
#6F2FA5 #A56F2F #2FA56F
tetradic
#6F2FA5 #A5342F #65A52F #2FA0A5
square
#6F2FA5 #A5342F #65A52F #2FA0A5
split-complementary
#6F2FA5 #A0A52F #2FA534
monochromatic
#2F1446 #4F2175 #6F2FA5 #8E47CB #AB76D8
Accessibility & contrast
On white
8.00
#6F2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#6F2FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2FA5
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2FA5 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#654B67
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6f2fa5; /* rgb */ color: rgb(111, 47, 165); /* oklch */ color: oklch(45.5% 0.181 305.0);
Tailwind
colors: {
custom: {
50: '#9d6dc0',
500: '#6f2fa5',
950: '#000000',
},
}SCSS
$custom: #6f2fa5; $custom-light: #9d6dc0; $custom-dark: #000000;
JSON
{
"hex": "#6f2fa5",
"rgb": {
"r": 111,
"g": 47,
"b": 165
},
"hsl": {
"h": 272.542,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.45526,
"c": 0.18095,
"h": 305
},
"luminance": 0.08129
}Semantic roles & 50–950 ramp
primary
#6F2FA5
secondary
#94C070
accent
#DF498E
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81