#70178D#70178D

#70178D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.184 H 315.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#70178D
RGBrgb(112, 23, 141)
HSLhsl(285, 72%, 32%)
HSVhsv(285, 84%, 55%)
CMYKcmyk(20.6%, 83.7%, 0%, 44.7%)
CIE-LABlab(29.36, 53.86, -45.43)
CIE-LCHlch(29.36, 70.46, 319.85°)
OKLaboklab(41.54% 0.1315 -0.1283)
OKLCHoklch(41.54% 0.184 315.7)
XYZxyz(11.7954, 5.9811, 25.7273)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70178D #348D17
analogous
#35178D #70178D #8D176F
triadic
#70178D #8D7017 #178D70
tetradic
#70178D #8D3517 #348D17 #176F8D
square
#70178D #8D3517 #348D17 #176F8D
split-complementary
#70178D #6F8D17 #178D35
monochromatic
#1C0624 #460E58 #70178D #9A20C2 #B83FE0

Accessibility & contrast

On white

9.56
#70178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#70178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70178D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70178D#FFFFFF#000000##FFFFFF
##70178D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70178d;
/* rgb */ color: rgb(112, 23, 141);
/* oklch */ color: oklch(41.5% 0.184 315.7);
Tailwind
colors: {
  custom: {
    50: '#9d61af',
    500: '#70178d',
    950: '#000000',
  },
}
SCSS
$custom: #70178d;
$custom-light: #9d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#70178d",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 285.254,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.18373,
    "h": 315.7
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#70178D
secondary
#5FC040
accent
#EF3966
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70178D

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

Preview Lab → · Contrast checker → · Palette generator →

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