#70176A#70176A

#70176A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.154 H 331.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#70176A
RGBrgb(112, 23, 106)
HSLhsl(304, 66%, 26%)
HSVhsv(304, 79%, 44%)
CMYKcmyk(0%, 79.5%, 5.4%, 56.1%)
CIE-LABlab(27.01, 47.36, -27.05)
CIE-LCHlch(27.01, 54.54, 330.27°)
OKLaboklab(39.13% 0.1351 -0.0746)
OKLCHoklch(39.13% 0.154 331.1)
XYZxyz(9.5900, 5.0989, 14.1120)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70176A #17701D
analogous
#4A1770 #70176A #70173E
triadic
#70176A #6A7017 #176A70
tetradic
#70176A #704A17 #17701D #173E70
square
#70176A #704A17 #17701D #173E70
split-complementary
#70176A #3E7017 #17704A
monochromatic
#190518 #3D0D3A #70176A #A3219A #D42DC9

Accessibility & contrast

On white

10.40
#70176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#70176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70176A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70176A#FFFFFF#000000##FFFFFF
##70176A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D386C
Deuteranopia (green-blind)
#344468
Tritanopia (blue-blind)
#752340
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #70176a;
/* rgb */ color: rgb(112, 23, 106);
/* oklch */ color: oklch(39.1% 0.154 331.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f95',
    500: '#70176a',
    950: '#000000',
  },
}
SCSS
$custom: #70176a;
$custom-light: #9c5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#70176a",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 304.045,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39128,
    "c": 0.15432,
    "h": 331.1
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#70176A
secondary
#3DA644
accent
#E94A3F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #70176A

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

Preview Lab → · Contrast checker → · Palette generator →

#70176A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva