#70176B#70176B

#70176B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.155 H 330.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#70176B
RGBrgb(112, 23, 107)
HSLhsl(303, 66%, 26%)
HSVhsv(303, 79%, 44%)
CMYKcmyk(0%, 79.5%, 4.5%, 56.1%)
CIE-LABlab(27.07, 47.53, -27.60)
CIE-LCHlch(27.07, 54.97, 329.86°)
OKLaboklab(39.19% 0.1351 -0.0762)
OKLCHoklch(39.19% 0.155 330.6)
XYZxyz(9.6423, 5.1198, 14.3875)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70176B #17701C
analogous
#491770 #70176B #70173F
triadic
#70176B #6B7017 #176B70
tetradic
#70176B #704917 #17701C #173F70
square
#70176B #704917 #17701C #173F70
split-complementary
#70176B #3F7017 #177049
monochromatic
#190518 #3D0D3A #70176B #A3219C #D42DCB

Accessibility & contrast

On white

10.38
#70176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70176B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70176B#FFFFFF#000000##FFFFFF
##70176B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70176b;
/* rgb */ color: rgb(112, 23, 107);
/* oklch */ color: oklch(39.2% 0.155 330.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f96',
    500: '#70176b',
    950: '#000000',
  },
}
SCSS
$custom: #70176b;
$custom-light: #9c5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#70176b",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 303.371,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.15511,
    "h": 330.6
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#70176B
secondary
#3DA643
accent
#E9483F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #70176B

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

Preview Lab → · Contrast checker → · Palette generator →

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