#70176D#70176D

#70176D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.157 H 329.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#70176D
RGBrgb(112, 23, 109)
HSLhsl(302, 66%, 26%)
HSVhsv(302, 79%, 44%)
CMYKcmyk(0%, 79.5%, 2.7%, 56.1%)
CIE-LABlab(27.19, 47.87, -28.70)
CIE-LCHlch(27.19, 55.82, 329.05°)
OKLaboklab(39.31% 0.1351 -0.0794)
OKLCHoklch(39.31% 0.157 329.6)
XYZxyz(9.7487, 5.1624, 14.9480)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70176D #17701A
analogous
#471770 #70176D #701741
triadic
#70176D #6D7017 #176D70
tetradic
#70176D #704717 #17701A #174170
square
#70176D #704717 #17701A #174170
split-complementary
#70176D #417017 #177047
monochromatic
#190519 #3D0D3C #70176D #A3219E #D42DCE

Accessibility & contrast

On white

10.33
#70176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#70176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70176D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70176D#FFFFFF#000000##FFFFFF
##70176D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08396F
Deuteranopia (green-blind)
#32446B
Tritanopia (blue-blind)
#742441
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #70176d;
/* rgb */ color: rgb(112, 23, 109);
/* oklch */ color: oklch(39.3% 0.157 329.6);
Tailwind
colors: {
  custom: {
    50: '#9c6097',
    500: '#70176d',
    950: '#000000',
  },
}
SCSS
$custom: #70176d;
$custom-light: #9c6097;
$custom-dark: #000000;
JSON
{
  "hex": "#70176d",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 302.022,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39312,
    "c": 0.15671,
    "h": 329.6
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#70176D
secondary
#3DA641
accent
#E9453F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #70176D

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

Preview Lab → · Contrast checker → · Palette generator →

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