#70167A#70167A

#70167A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.168 H 323.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#70167A
RGBrgb(112, 22, 122)
HSLhsl(294, 69%, 28%)
HSVhsv(294, 82%, 48%)
CMYKcmyk(8.2%, 82%, 0%, 52.2%)
CIE-LABlab(27.91, 50.50, -35.86)
CIE-LCHlch(27.91, 61.94, 324.62°)
OKLaboklab(40.09% 0.1353 -0.1002)
OKLCHoklch(40.09% 0.168 323.5)
XYZxyz(10.4815, 5.4244, 18.9035)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70167A #207A16
analogous
#3E167A #70167A #7A1652
triadic
#70167A #7A7016 #167A70
tetradic
#70167A #7A3E16 #207A16 #16527A
square
#70167A #7A3E16 #207A16 #16527A
split-complementary
#70167A #527A16 #167A3E
monochromatic
#18051A #400D46 #70167A #A01FAE #C931DA

Accessibility & contrast

On white

10.07
#70167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#70167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70167A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70167A#FFFFFF#000000##FFFFFF
##70167A1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#294578
Tritanopia (blue-blind)
#722A48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70167a;
/* rgb */ color: rgb(112, 22, 122);
/* oklch */ color: oklch(40.1% 0.168 323.5);
Tailwind
colors: {
  custom: {
    50: '#9d60a1',
    500: '#70167a',
    950: '#000000',
  },
}
SCSS
$custom: #70167a;
$custom-light: #9d60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#70167a",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 294,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.16838,
    "h": 323.5
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#70167A
secondary
#48AF3D
accent
#EC3C4D
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #70167A

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

Preview Lab → · Contrast checker → · Palette generator →

#70167A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva