#6F179F#6F179F
#6F179F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.199 H 309.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6F179F |
|---|---|
| RGB | rgb(111, 23, 159) |
| HSL | hsl(279, 75%, 36%) |
| HSV | hsv(279, 86%, 62%) |
| CMYK | cmyk(30.2%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.63, 57.40, -54.43) |
| CIE-LCH | lch(30.63, 79.11, 316.52°) |
| OKLab | oklab(42.84% 0.1256 -0.1548) |
| OKLCH | oklch(42.84% 0.199 309.1) |
| XYZ | xyz(13.1187, 6.4958, 33.3569) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.42
Rebeccapurple
#663399
ΔE00 4.74
Darkmagenta
#8B008B
ΔE00 7.31
Purple
#800080
ΔE00 7.34
Indigo
#4B0082
ΔE00 7.70
Violet Blue
#510AC9
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F179F #479F17
analogous
#2B179F #6F179F #9F178B
triadic
#6F179F #9F6F17 #179F6F
tetradic
#6F179F #9F2B17 #479F17 #178B9F
square
#6F179F #9F2B17 #479F17 #178B9F
split-complementary
#6F179F #8B9F17 #179F2B
monochromatic
#240834 #4A0F6A #6F179F #941FD4 #AF4BE5
Accessibility & contrast
On white
9.13
#6F179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6F179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F179F
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F179F | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#673D5E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6f179f; /* rgb */ color: rgb(111, 23, 159); /* oklch */ color: oklch(42.8% 0.199 309.1);
Tailwind
colors: {
custom: {
50: '#9e62bc',
500: '#6f179f',
950: '#000000',
},
}SCSS
$custom: #6f179f; $custom-light: #9e62bc; $custom-dark: #000000;
JSON
{
"hex": "#6f179f",
"rgb": {
"r": 111,
"g": 23,
"b": 159
},
"hsl": {
"h": 278.824,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.42835,
"c": 0.19931,
"h": 309.1
},
"luminance": 0.06496
}Semantic roles & 50–950 ramp
primary
#6F179F
secondary
#77C74B
accent
#F13678
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81