#70176F#70176F

#70176F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.158 H 328.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#70176F
RGBrgb(112, 23, 111)
HSLhsl(301, 66%, 26%)
HSVhsv(301, 79%, 44%)
CMYKcmyk(0%, 79.5%, 0.9%, 56.1%)
CIE-LABlab(27.31, 48.22, -29.80)
CIE-LCHlch(27.31, 56.68, 328.29°)
OKLaboklab(39.44% 0.1351 -0.0826)
OKLCHoklch(39.44% 0.158 328.6)
XYZxyz(9.8576, 5.2060, 15.5215)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70176F #177018
analogous
#451770 #70176F #701743
triadic
#70176F #6F7017 #176F70
tetradic
#70176F #704517 #177018 #174370
square
#70176F #704517 #177018 #174370
split-complementary
#70176F #437017 #177045
monochromatic
#190519 #3D0D3D #70176F #A321A1 #D42DD2

Accessibility & contrast

On white

10.29
#70176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#70176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70176F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70176F#FFFFFF#000000##FFFFFF
##70176F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#742542
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #70176f;
/* rgb */ color: rgb(112, 23, 111);
/* oklch */ color: oklch(39.4% 0.158 328.6);
Tailwind
colors: {
  custom: {
    50: '#9c6099',
    500: '#70176f',
    950: '#000000',
  },
}
SCSS
$custom: #70176f;
$custom-light: #9c6099;
$custom-dark: #000000;
JSON
{
  "hex": "#70176f",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 300.674,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.15833,
    "h": 328.6
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#70176F
secondary
#3DA63E
accent
#E9413F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #70176F

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

Preview Lab → · Contrast checker → · Palette generator →

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