#70168D#70168D

#70168D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.5% C 0.185 H 315.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#70168D
RGBrgb(112, 22, 141)
HSLhsl(285, 73%, 32%)
HSVhsv(285, 84%, 55%)
CMYKcmyk(20.6%, 84.4%, 0%, 44.7%)
CIE-LABlab(29.27, 54.15, -45.59)
CIE-LCHlch(29.27, 70.79, 319.91°)
OKLaboklab(41.47% 0.1322 -0.1287)
OKLCHoklch(41.47% 0.185 315.8)
XYZxyz(11.7759, 5.9421, 25.7208)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70168D #338D16
analogous
#35168D #70168D #8D166F
triadic
#70168D #8D7016 #168D70
tetradic
#70168D #8D3516 #338D16 #166F8D
square
#70168D #8D3516 #338D16 #166F8D
split-complementary
#70168D #6F8D16 #168D35
monochromatic
#1C0523 #460E58 #70168D #9A1EC2 #B93DE1

Accessibility & contrast

On white

9.60
#70168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#70168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70168D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70168D#FFFFFF#000000##FFFFFF
##70168D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#6E3453
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70168d;
/* rgb */ color: rgb(112, 22, 141);
/* oklch */ color: oklch(41.5% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#9d61af',
    500: '#70168d',
    950: '#000000',
  },
}
SCSS
$custom: #70168d;
$custom-light: #9d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#70168d",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 285.378,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.18456,
    "h": 315.8
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#70168D
secondary
#5EC13E
accent
#F03865
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70168D

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

Preview Lab → · Contrast checker → · Palette generator →

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