#6F1B98#6F1B98
#6F1B98 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.190 H 311.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1B98 |
|---|---|
| RGB | rgb(111, 27, 152) |
| HSL | hsl(280, 70%, 35%) |
| HSV | hsv(280, 82%, 60%) |
| CMYK | cmyk(27%, 82.2%, 0%, 40.4%) |
| CIE-LAB | lab(30.47, 54.72, -50.41) |
| CIE-LCH | lch(30.47, 74.40, 317.35°) |
| OKLab | oklab(42.55% 0.1247 -0.143) |
| OKLCH | oklch(42.55% 0.19 311.1) |
| XYZ | xyz(12.6139, 6.4307, 30.2764) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.96
Rebeccapurple
#663399
ΔE00 4.43
Purple
#800080
ΔE00 6.46
Darkmagenta
#8B008B
ΔE00 6.60
Indigo
#4B0082
ΔE00 7.65
Darkish Purple
#751973
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1B98 #44981B
analogous
#311B98 #6F1B98 #981B82
triadic
#6F1B98 #986F1B #1B986F
tetradic
#6F1B98 #98311B #44981B #1B8298
square
#6F1B98 #98311B #44981B #1B8298
split-complementary
#6F1B98 #82981B #1B9831
monochromatic
#230930 #491264 #6F1B98 #9524CC #B04EE0
Accessibility & contrast
On white
9.19
#6F1B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6F1B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1B98
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1B98 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#693B5B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6f1b98; /* rgb */ color: rgb(111, 27, 152); /* oklch */ color: oklch(42.5% 0.190 311.1);
Tailwind
colors: {
custom: {
50: '#9d63b7',
500: '#6f1b98',
950: '#000000',
},
}SCSS
$custom: #6f1b98; $custom-light: #9d63b7; $custom-dark: #000000;
JSON
{
"hex": "#6f1b98",
"rgb": {
"r": 111,
"g": 27,
"b": 152
},
"hsl": {
"h": 280.32,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.4255,
"c": 0.18971,
"h": 311.1
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#6F1B98
secondary
#73C24D
accent
#ED3B75
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80