#70178E#70178E

#70178E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.185 H 315.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#70178E
RGBrgb(112, 23, 142)
HSLhsl(285, 72%, 32%)
HSVhsv(285, 84%, 56%)
CMYKcmyk(21.1%, 83.8%, 0%, 44.3%)
CIE-LABlab(29.44, 54.06, -45.93)
CIE-LCHlch(29.44, 70.94, 319.65°)
OKLaboklab(41.62% 0.1313 -0.1297)
OKLCHoklch(41.62% 0.185 315.3)
XYZxyz(11.8702, 6.0110, 26.1209)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70178E #358E17
analogous
#35178E #70178E #8E1771
triadic
#70178E #8E7017 #178E70
tetradic
#70178E #8E3517 #358E17 #17718E
square
#70178E #8E3517 #358E17 #17718E
split-complementary
#70178E #718E17 #178E35
monochromatic
#1D0625 #460E59 #70178E #9A20C3 #B73FE0

Accessibility & contrast

On white

9.54
#70178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70178E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70178E#FFFFFF#000000##FFFFFF
##70178E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#6D3554
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70178e;
/* rgb */ color: rgb(112, 23, 142);
/* oklch */ color: oklch(41.6% 0.185 315.3);
Tailwind
colors: {
  custom: {
    50: '#9d61b0',
    500: '#70178e',
    950: '#000000',
  },
}
SCSS
$custom: #70178e;
$custom-light: #9d61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70178e",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 284.874,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.1846,
    "h": 315.3
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#70178E
secondary
#61C040
accent
#EF3967
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70178E

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

Preview Lab → · Contrast checker → · Palette generator →

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