#70168A#70168A

#70168A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.182 H 316.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#70168A
RGBrgb(112, 22, 138)
HSLhsl(287, 73%, 31%)
HSVhsv(287, 84%, 54%)
CMYKcmyk(18.8%, 84.1%, 0%, 45.9%)
CIE-LABlab(29.04, 53.56, -44.09)
CIE-LCHlch(29.04, 69.37, 320.54°)
OKLaboklab(41.24% 0.1329 -0.1243)
OKLCHoklch(41.24% 0.182 316.9)
XYZxyz(11.5558, 5.8540, 24.5611)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70168A #308A16
analogous
#36168A #70168A #8A166A
triadic
#70168A #8A7016 #168A70
tetradic
#70168A #8A3616 #308A16 #166A8A
square
#70168A #8A3616 #308A16 #166A8A
split-complementary
#70168A #6A8A16 #168A36
monochromatic
#1A0520 #450E55 #70168A #9B1EBF #BB3BE0

Accessibility & contrast

On white

9.67
#70168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#70168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70168A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70168A#FFFFFF#000000##FFFFFF
##70168A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#6E3252
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70168a;
/* rgb */ color: rgb(112, 22, 138);
/* oklch */ color: oklch(41.2% 0.182 316.9);
Tailwind
colors: {
  custom: {
    50: '#9d61ad',
    500: '#70168a',
    950: '#000000',
  },
}
SCSS
$custom: #70168a;
$custom-light: #9d61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70168a",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 286.552,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.18197,
    "h": 316.9
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#70168A
secondary
#5BBE3E
accent
#EF3962
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #70168A

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

Preview Lab → · Contrast checker → · Palette generator →

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