#70166D#70166D

#70166D is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.158 H 329.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#70166D
RGBrgb(112, 22, 109)
HSLhsl(302, 67%, 26%)
HSVhsv(302, 80%, 44%)
CMYKcmyk(0%, 80.4%, 2.7%, 56.1%)
CIE-LABlab(27.08, 48.19, -28.88)
CIE-LCHlch(27.08, 56.18, 329.07°)
OKLaboklab(39.23% 0.136 -0.0799)
OKLCHoklch(39.23% 0.158 329.6)
XYZxyz(9.7293, 5.1235, 14.9415)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70166D #167019
analogous
#461670 #70166D #701640
triadic
#70166D #6D7016 #166D70
tetradic
#70166D #704616 #167019 #164070
square
#70166D #704616 #167019 #164070
split-complementary
#70166D #407016 #167046
monochromatic
#1A0519 #3D0C3B #70166D #A3209F #D52BD0

Accessibility & contrast

On white

10.37
#70166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#70166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70166D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70166D#FFFFFF#000000##FFFFFF
##70166D1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70166d;
/* rgb */ color: rgb(112, 22, 109);
/* oklch */ color: oklch(39.2% 0.158 329.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f97',
    500: '#70166d',
    950: '#000000',
  },
}
SCSS
$custom: #70166d;
$custom-light: #9c5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#70166d",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 302,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39234,
    "c": 0.15774,
    "h": 329.6
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#70166D
secondary
#3CA63F
accent
#EA433E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #70166D

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

Preview Lab → · Contrast checker → · Palette generator →

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