#6F2CA0#6F2CA0
#6F2CA0 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.179 H 306.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2CA0 |
|---|---|
| RGB | rgb(111, 44, 160) |
| HSL | hsl(275, 57%, 40%) |
| HSV | hsv(275, 73%, 63%) |
| CMYK | cmyk(30.6%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(33.39, 49.90, -50.55) |
| CIE-LCH | lch(33.39, 71.03, 314.63°) |
| OKLab | oklab(44.8% 0.1076 -0.1435) |
| OKLCH | oklch(44.8% 0.179 306.9) |
| XYZ | xyz(13.8000, 7.7191, 34.0138) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.28
Purple (survey)
#7E1E9C
ΔE00 3.54
Purple Blue
#5D21D0
ΔE00 7.82
Darkmagenta
#8B008B
ΔE00 8.06
Bluey Purple
#6241C7
ΔE00 8.31
Purple
#800080
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2CA0 #5DA02C
analogous
#352CA0 #6F2CA0 #A02C97
triadic
#6F2CA0 #A06F2C #2CA06F
tetradic
#6F2CA0 #A0352C #5DA02C #2C97A0
square
#6F2CA0 #A0352C #5DA02C #2C97A0
split-complementary
#6F2CA0 #97A02C #2CA035
monochromatic
#2C1240 #4E1F70 #6F2CA0 #8F3FCA #AB6FD7
Accessibility & contrast
On white
8.26
#6F2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#6F2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2CA0
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2CA0 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#674763
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6f2ca0; /* rgb */ color: rgb(111, 44, 160); /* oklch */ color: oklch(44.8% 0.179 306.9);
Tailwind
colors: {
custom: {
50: '#9d6bbd',
500: '#6f2ca0',
950: '#000000',
},
}SCSS
$custom: #6f2ca0; $custom-light: #9d6bbd; $custom-dark: #000000;
JSON
{
"hex": "#6f2ca0",
"rgb": {
"r": 111,
"g": 44,
"b": 160
},
"hsl": {
"h": 274.655,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.44797,
"c": 0.17937,
"h": 306.9
},
"luminance": 0.07719
}Semantic roles & 50–950 ramp
primary
#6F2CA0
secondary
#8DBF69
accent
#E04888
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81