#70179F#70179F
#70179F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.200 H 309.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #70179F |
|---|---|
| RGB | rgb(112, 23, 159) |
| HSL | hsl(279, 75%, 36%) |
| HSV | hsv(279, 86%, 62%) |
| CMYK | cmyk(29.6%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.79, 57.56, -54.17) |
| CIE-LCH | lch(30.79, 79.04, 316.74°) |
| OKLab | oklab(42.97% 0.127 -0.154) |
| OKLCH | oklch(42.97% 0.2 309.5) |
| XYZ | xyz(13.2452, 6.5610, 33.3628) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.24
Rebeccapurple
#663399
ΔE00 4.77
Darkmagenta
#8B008B
ΔE00 7.14
Purple
#800080
ΔE00 7.22
Indigo
#4B0082
ΔE00 7.85
Violet Blue
#510AC9
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#70179F #469F17
analogous
#2C179F #70179F #9F178A
triadic
#70179F #9F7017 #179F70
tetradic
#70179F #9F2C17 #469F17 #178A9F
square
#70179F #9F2C17 #469F17 #178A9F
split-complementary
#70179F #8A9F17 #179F2C
monochromatic
#250834 #4A0F6A #70179F #961FD4 #B04BE5
Accessibility & contrast
On white
9.08
#70179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#70179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #70179F
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##70179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##70179F | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#693D5E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #70179f; /* rgb */ color: rgb(112, 23, 159); /* oklch */ color: oklch(43.0% 0.200 309.5);
Tailwind
colors: {
custom: {
50: '#9e62bc',
500: '#70179f',
950: '#000000',
},
}SCSS
$custom: #70179f; $custom-light: #9e62bc; $custom-dark: #000000;
JSON
{
"hex": "#70179f",
"rgb": {
"r": 112,
"g": 23,
"b": 159
},
"hsl": {
"h": 279.265,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.42974,
"c": 0.19957,
"h": 309.5
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#70179F
secondary
#76C74B
accent
#F13677
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81