#6F2F96#6F2F96
#6F2F96 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.165 H 309.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2F96 |
|---|---|
| RGB | rgb(111, 47, 150) |
| HSL | hsl(277, 52%, 39%) |
| HSV | hsv(277, 69%, 59%) |
| CMYK | cmyk(26%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(33.17, 46.19, -44.83) |
| CIE-LCH | lch(33.17, 64.37, 315.85°) |
| OKLab | oklab(44.41% 0.1056 -0.1267) |
| OKLCH | oklch(44.41% 0.165 309.8) |
| XYZ | xyz(13.0760, 7.6148, 29.6292) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.23
Purple (survey)
#7E1E9C
ΔE00 3.52
Darkmagenta
#8B008B
ΔE00 7.37
Purple
#800080
ΔE00 7.54
Darkish Purple
#751973
ΔE00 7.95
Warm Purple
#952E8F
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2F96 #56962F
analogous
#3C2F96 #6F2F96 #962F89
triadic
#6F2F96 #966F2F #2F966F
tetradic
#6F2F96 #963C2F #56962F #2F8996
square
#6F2F96 #963C2F #56962F #2F8996
split-complementary
#6F2F96 #89962F #2F963C
monochromatic
#2A1239 #4D2067 #6F2F96 #913FC3 #AC6ED2
Accessibility & contrast
On white
8.32
#6F2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#6F2F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2F96
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2F96 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#6A455E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6f2f96; /* rgb */ color: rgb(111, 47, 150); /* oklch */ color: oklch(44.4% 0.165 309.8);
Tailwind
colors: {
custom: {
50: '#9c6cb5',
500: '#6f2f96',
950: '#000000',
},
}SCSS
$custom: #6f2f96; $custom-light: #9c6cb5; $custom-dark: #000000;
JSON
{
"hex": "#6f2f96",
"rgb": {
"r": 111,
"g": 47,
"b": 150
},
"hsl": {
"h": 277.282,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.4441,
"c": 0.16499,
"h": 309.8
},
"luminance": 0.07615
}Semantic roles & 50–950 ramp
primary
#6F2F96
secondary
#87B968
accent
#DC4C82
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80