#70188C#70188C

#70188C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.182 H 316.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#70188C
RGBrgb(112, 24, 140)
HSLhsl(286, 71%, 32%)
HSVhsv(286, 83%, 55%)
CMYKcmyk(20%, 82.9%, 0%, 45.1%)
CIE-LABlab(29.39, 53.36, -44.77)
CIE-LCHlch(29.39, 69.65, 320.01°)
OKLaboklab(41.54% 0.131 -0.1263)
OKLCHoklch(41.54% 0.182 316)
XYZxyz(11.7416, 5.9919, 25.3439)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70188C #348C18
analogous
#36188C #70188C #8C186E
triadic
#70188C #8C7018 #188C70
tetradic
#70188C #8C3618 #348C18 #186E8C
square
#70188C #8C3618 #348C18 #186E8C
split-complementary
#70188C #6E8C18 #188C36
monochromatic
#1C0624 #460F58 #70188C #9A21C0 #B840DE

Accessibility & contrast

On white

9.55
#70188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#70188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70188C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70188C#FFFFFF#000000##FFFFFF
##70188C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#15488A
Tritanopia (blue-blind)
#6E3453
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70188c;
/* rgb */ color: rgb(112, 24, 140);
/* oklch */ color: oklch(41.5% 0.182 316.0);
Tailwind
colors: {
  custom: {
    50: '#9d62ae',
    500: '#70188c',
    950: '#000000',
  },
}
SCSS
$custom: #70188c;
$custom-light: #9d62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#70188c",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 285.517,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.18198,
    "h": 316
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#70188C
secondary
#5FBF41
accent
#ED3A66
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70188C

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

Preview Lab → · Contrast checker → · Palette generator →

#70188C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva