#6F2EA8#6F2EA8
#6F2EA8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.185 H 304.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2EA8 |
|---|---|
| RGB | rgb(111, 46, 168) |
| HSL | hsl(272, 57%, 42%) |
| HSV | hsv(272, 73%, 66%) |
| CMYK | cmyk(33.9%, 72.6%, 0%, 34.1%) |
| CIE-LAB | lab(34.32, 50.89, -53.87) |
| CIE-LCH | lch(34.32, 74.11, 313.37°) |
| OKLab | oklab(45.64% 0.1042 -0.1533) |
| OKLCH | oklch(45.64% 0.185 304.2) |
| XYZ | xyz(14.5988, 8.1607, 37.8443) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.80
Purple (survey)
#7E1E9C
ΔE00 4.42
Purple Blue
#5D21D0
ΔE00 6.70
Bluey Purple
#6241C7
ΔE00 7.03
Blurple
#5539CC
ΔE00 7.55
Blue With A Hint Of Purple
#533CC6
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2EA8 #67A82E
analogous
#322EA8 #6F2EA8 #A82EA4
triadic
#6F2EA8 #A86F2E #2EA86F
tetradic
#6F2EA8 #A8322E #67A82E #2EA4A8
square
#6F2EA8 #A8322E #67A82E #2EA4A8
split-complementary
#6F2EA8 #A4A82E #2EA832
monochromatic
#301448 #4F2178 #6F2EA8 #8E47CD #AB77DA
Accessibility & contrast
On white
7.98
#6F2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#6F2EA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2EA8
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2EA8 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#644B68
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6f2ea8; /* rgb */ color: rgb(111, 46, 168); /* oklch */ color: oklch(45.6% 0.185 304.2);
Tailwind
colors: {
custom: {
50: '#9d6dc3',
500: '#6f2ea8',
950: '#000000',
},
}SCSS
$custom: #6f2ea8; $custom-light: #9d6dc3; $custom-dark: #000000;
JSON
{
"hex": "#6f2ea8",
"rgb": {
"r": 111,
"g": 46,
"b": 168
},
"hsl": {
"h": 271.967,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.45644,
"c": 0.18534,
"h": 304.2
},
"luminance": 0.08161
}Semantic roles & 50–950 ramp
primary
#6F2EA8
secondary
#96C270
accent
#E0488F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82