#6B179F#6B179F
#6B179F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.3% C 0.198 H 307.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6B179F |
|---|---|
| RGB | rgb(107, 23, 159) |
| HSL | hsl(277, 75%, 36%) |
| HSV | hsv(277, 86%, 62%) |
| CMYK | cmyk(32.7%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.02, 56.78, -55.46) |
| CIE-LCH | lch(30.02, 79.37, 315.68°) |
| OKLab | oklab(42.28% 0.1199 -0.1579) |
| OKLCH | oklch(42.28% 0.198 307.2) |
| XYZ | xyz(12.6265, 6.2420, 33.3338) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.15
Rebeccapurple
#663399
ΔE00 4.73
Indigo
#4B0082
ΔE00 7.15
Violet Blue
#510AC9
ΔE00 7.24
Purple Blue
#5D21D0
ΔE00 7.62
Purple
#800080
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B179F #4B9F17
analogous
#27179F #6B179F #9F178F
triadic
#6B179F #9F6B17 #179F6B
tetradic
#6B179F #9F2717 #4B9F17 #178F9F
square
#6B179F #9F2717 #4B9F17 #178F9F
split-complementary
#6B179F #8F9F17 #179F27
monochromatic
#230834 #470F6A #6B179F #8F1FD4 #AA4BE5
Accessibility & contrast
On white
9.34
#6B179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6B179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B179F
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B179F | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#623E5E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b179f; /* rgb */ color: rgb(107, 23, 159); /* oklch */ color: oklch(42.3% 0.198 307.2);
Tailwind
colors: {
custom: {
50: '#9b62bc',
500: '#6b179f',
950: '#000000',
},
}SCSS
$custom: #6b179f; $custom-light: #9b62bc; $custom-dark: #000000;
JSON
{
"hex": "#6b179f",
"rgb": {
"r": 107,
"g": 23,
"b": 159
},
"hsl": {
"h": 277.059,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.42283,
"c": 0.1983,
"h": 307.2
},
"luminance": 0.06242
}Semantic roles & 50–950 ramp
primary
#6B179F
secondary
#7AC74B
accent
#F1367E
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81