#6F1790#6F1790
#6F1790 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.186 H 314.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1790 |
|---|---|
| RGB | rgb(111, 23, 144) |
| HSL | hsl(284, 72%, 33%) |
| HSV | hsv(284, 84%, 56%) |
| CMYK | cmyk(22.9%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(29.43, 54.29, -47.19) |
| CIE-LCH | lch(29.43, 71.93, 319.00°) |
| OKLab | oklab(41.62% 0.1295 -0.1335) |
| OKLCH | oklch(41.62% 0.186 314.1) |
| XYZ | xyz(11.8951, 6.0063, 26.9129) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.33
Purple
#800080
ΔE00 5.29
Rebeccapurple
#663399
ΔE00 5.29
Darkmagenta
#8B008B
ΔE00 5.86
Darkish Purple
#751973
ΔE00 6.41
Indigo
#4B0082
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1790 #389017
analogous
#321790 #6F1790 #901775
triadic
#6F1790 #906F17 #17906F
tetradic
#6F1790 #903217 #389017 #177590
square
#6F1790 #903217 #389017 #177590
split-complementary
#6F1790 #759017 #179032
monochromatic
#1E0626 #460F5B #6F1790 #981FC5 #B541E1
Accessibility & contrast
On white
9.54
#6F1790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#6F1790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1790
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1790 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#07478E
Tritanopia (blue-blind)
#6C3655
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6f1790; /* rgb */ color: rgb(111, 23, 144); /* oklch */ color: oklch(41.6% 0.186 314.1);
Tailwind
colors: {
custom: {
50: '#9d61b1',
500: '#6f1790',
950: '#000000',
},
}SCSS
$custom: #6f1790; $custom-light: #9d61b1; $custom-dark: #000000;
JSON
{
"hex": "#6f1790",
"rgb": {
"r": 111,
"g": 23,
"b": 144
},
"hsl": {
"h": 283.636,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.41623,
"c": 0.18601,
"h": 314.1
},
"luminance": 0.06006
}Semantic roles & 50–950 ramp
primary
#6F1790
secondary
#64C142
accent
#EF396A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80