#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
RGBrgb(112, 23, 159)
HSLhsl(279, 75%, 36%)
HSVhsv(279, 86%, 62%)
CMYKcmyk(29.6%, 85.5%, 0%, 37.6%)
CIE-LABlab(30.79, 57.56, -54.17)
CIE-LCHlch(30.79, 79.04, 316.74°)
OKLaboklab(42.97% 0.127 -0.154)
OKLCHoklch(42.97% 0.2 309.5)
XYZxyz(13.2452, 6.5610, 33.3628)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##70179F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.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

Preview Lab

Preview with #70179F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#70179F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva