#70166F#70166F

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

Color values

HEX#70166F
RGBrgb(112, 22, 111)
HSLhsl(301, 67%, 26%)
HSVhsv(301, 80%, 44%)
CMYKcmyk(0%, 80.4%, 0.9%, 56.1%)
CIE-LABlab(27.21, 48.53, -29.97)
CIE-LCHlch(27.21, 57.04, 328.30°)
OKLaboklab(39.36% 0.136 -0.083)
OKLCHoklch(39.36% 0.159 328.6)
XYZxyz(9.8381, 5.1670, 15.5150)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70166F #167017
analogous
#441670 #70166F #701642
triadic
#70166F #6F7016 #166F70
tetradic
#70166F #704416 #167017 #164270
square
#70166F #704416 #167017 #164270
split-complementary
#70166F #427016 #167044
monochromatic
#1A0519 #3D0C3C #70166F #A320A2 #D52BD3

Accessibility & contrast

On white

10.33
#70166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#70166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70166F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70166F#FFFFFF#000000##FFFFFF
##70166F1.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)
#023971
Deuteranopia (green-blind)
#31446D
Tritanopia (blue-blind)
#742542
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #70166f;
/* rgb */ color: rgb(112, 22, 111);
/* oklch */ color: oklch(39.4% 0.159 328.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f99',
    500: '#70166f',
    950: '#000000',
  },
}
SCSS
$custom: #70166f;
$custom-light: #9c5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#70166f",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 300.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.15934,
    "h": 328.6
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#70166F
secondary
#3CA63D
accent
#EA403E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #70166F

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

Preview Lab → · Contrast checker → · Palette generator →

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