#6F2EA7#6F2EA7
#6F2EA7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.184 H 304.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2EA7 |
|---|---|
| RGB | rgb(111, 46, 167) |
| HSL | hsl(272, 57%, 42%) |
| HSV | hsv(272, 72%, 65%) |
| CMYK | cmyk(33.5%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(34.24, 50.65, -53.39) |
| CIE-LCH | lch(34.24, 73.60, 313.49°) |
| OKLab | oklab(45.57% 0.1044 -0.1519) |
| OKLCH | oklch(45.57% 0.184 304.5) |
| XYZ | xyz(14.5060, 8.1236, 37.3555) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.69
Purple (survey)
#7E1E9C
ΔE00 4.32
Purple Blue
#5D21D0
ΔE00 6.85
Bluey Purple
#6241C7
ΔE00 7.16
Blurple
#5539CC
ΔE00 7.68
Blue With A Hint Of Purple
#533CC6
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2EA7 #66A72E
analogous
#322EA7 #6F2EA7 #A72EA3
triadic
#6F2EA7 #A76F2E #2EA76F
tetradic
#6F2EA7 #A7322E #66A72E #2EA3A7
square
#6F2EA7 #A7322E #66A72E #2EA3A7
split-complementary
#6F2EA7 #A3A72E #2EA732
monochromatic
#2F1447 #4F2177 #6F2EA7 #8E46CC #AB76D9
Accessibility & contrast
On white
8.00
#6F2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#6F2EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2EA7
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2EA7 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#644B68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6f2ea7; /* rgb */ color: rgb(111, 46, 167); /* oklch */ color: oklch(45.6% 0.184 304.5);
Tailwind
colors: {
custom: {
50: '#9d6dc2',
500: '#6f2ea7',
950: '#000000',
},
}SCSS
$custom: #6f2ea7; $custom-light: #9d6dc2; $custom-dark: #000000;
JSON
{
"hex": "#6f2ea7",
"rgb": {
"r": 111,
"g": 46,
"b": 167
},
"hsl": {
"h": 272.231,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.45565,
"c": 0.18429,
"h": 304.5
},
"luminance": 0.08124
}Semantic roles & 50–950 ramp
primary
#6F2EA7
secondary
#95C170
accent
#E0488E
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81