#70166B#70166B

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

Color values

HEX#70166B
RGBrgb(112, 22, 107)
HSLhsl(303, 67%, 26%)
HSVhsv(303, 80%, 44%)
CMYKcmyk(0%, 80.4%, 4.5%, 56.1%)
CIE-LABlab(26.96, 47.85, -27.78)
CIE-LCHlch(26.96, 55.33, 329.86°)
OKLaboklab(39.11% 0.136 -0.0767)
OKLCHoklch(39.11% 0.156 330.6)
XYZxyz(9.6228, 5.0809, 14.3810)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70166B #16701B
analogous
#481670 #70166B #70163E
triadic
#70166B #6B7016 #166B70
tetradic
#70166B #704816 #16701B #163E70
square
#70166B #704816 #16701B #163E70
split-complementary
#70166B #3E7016 #167048
monochromatic
#1A0518 #3D0C3A #70166B #A3209C #D52BCC

Accessibility & contrast

On white

10.42
#70166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70166B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70166B#FFFFFF#000000##FFFFFF
##70166B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70166b;
/* rgb */ color: rgb(112, 22, 107);
/* oklch */ color: oklch(39.1% 0.156 330.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f96',
    500: '#70166b',
    950: '#000000',
  },
}
SCSS
$custom: #70166b;
$custom-light: #9c5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#70166b",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 303.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.15615,
    "h": 330.6
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#70166B
secondary
#3CA642
accent
#EA473E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #70166B

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

Preview Lab → · Contrast checker → · Palette generator →

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