#6A179F#6A179F
#6A179F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.198 H 306.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6A179F |
|---|---|
| RGB | rgb(106, 23, 159) |
| HSL | hsl(277, 75%, 36%) |
| HSV | hsv(277, 86%, 62%) |
| CMYK | cmyk(33.3%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.86, 56.63, -55.71) |
| CIE-LCH | lch(29.86, 79.44, 315.47°) |
| OKLab | oklab(42.15% 0.1185 -0.1587) |
| OKLCH | oklch(42.15% 0.198 306.7) |
| XYZ | xyz(12.5069, 6.1803, 33.3282) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.34
Rebeccapurple
#663399
ΔE00 4.75
Indigo
#4B0082
ΔE00 7.02
Violet Blue
#510AC9
ΔE00 7.12
Purple Blue
#5D21D0
ΔE00 7.56
Indigo Blue
#3A18B1
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A179F #4C9F17
analogous
#26179F #6A179F #9F1790
triadic
#6A179F #9F6A17 #179F6A
tetradic
#6A179F #9F2617 #4C9F17 #17909F
square
#6A179F #9F2617 #4C9F17 #17909F
split-complementary
#6A179F #909F17 #179F26
monochromatic
#230834 #460F6A #6A179F #8E1FD4 #A94BE5
Accessibility & contrast
On white
9.39
#6A179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#6A179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A179F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A179F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#613E5E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a179f; /* rgb */ color: rgb(106, 23, 159); /* oklch */ color: oklch(42.1% 0.198 306.7);
Tailwind
colors: {
custom: {
50: '#9a61bc',
500: '#6a179f',
950: '#000000',
},
}SCSS
$custom: #6a179f; $custom-light: #9a61bc; $custom-dark: #000000;
JSON
{
"hex": "#6a179f",
"rgb": {
"r": 106,
"g": 23,
"b": 159
},
"hsl": {
"h": 276.618,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.42147,
"c": 0.19806,
"h": 306.7
},
"luminance": 0.0618
}Semantic roles & 50–950 ramp
primary
#6A179F
secondary
#7BC74B
accent
#F1367F
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81