#70187B#70187B

#70187B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.167 H 322.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#70187B
RGBrgb(112, 24, 123)
HSLhsl(293, 67%, 29%)
HSVhsv(293, 80%, 48%)
CMYKcmyk(8.9%, 80.5%, 0%, 51.8%)
CIE-LABlab(28.19, 50.07, -36.05)
CIE-LCHlch(28.19, 61.70, 324.25°)
OKLaboklab(40.31% 0.1335 -0.1008)
OKLCHoklch(40.31% 0.167 322.9)
XYZxyz(10.5835, 5.5287, 19.2447)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70187B #237B18
analogous
#3F187B #70187B #7B1855
triadic
#70187B #7B7018 #187B70
tetradic
#70187B #7B3F18 #237B18 #18557B
square
#70187B #7B3F18 #237B18 #18557B
split-complementary
#70187B #557B18 #187B3F
monochromatic
#17051A #410E48 #70187B #9F22AE #C636D8

Accessibility & contrast

On white

9.97
#70187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#70187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70187B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70187B#FFFFFF#000000##FFFFFF
##70187B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#722C49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70187b;
/* rgb */ color: rgb(112, 24, 123);
/* oklch */ color: oklch(40.3% 0.167 322.9);
Tailwind
colors: {
  custom: {
    50: '#9d61a2',
    500: '#70187b',
    950: '#000000',
  },
}
SCSS
$custom: #70187b;
$custom-light: #9d61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70187b",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 293.333,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40307,
    "c": 0.16728,
    "h": 322.9
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#70187B
secondary
#4CB03F
accent
#EA3E51
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #70187B

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

Preview Lab → · Contrast checker → · Palette generator →

#70187B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva