#70187C#70187C

#70187C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.168 H 322.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#70187C
RGBrgb(112, 24, 124)
HSLhsl(293, 68%, 29%)
HSVhsv(293, 81%, 49%)
CMYKcmyk(9.7%, 80.6%, 0%, 51.4%)
CIE-LABlab(28.26, 50.26, -36.57)
CIE-LCHlch(28.26, 62.16, 323.95°)
OKLaboklab(40.38% 0.1334 -0.1023)
OKLCHoklch(40.38% 0.168 322.5)
XYZxyz(10.6464, 5.5539, 19.5761)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70187C #247C18
analogous
#3E187C #70187C #7C1856
triadic
#70187C #7C7018 #187C70
tetradic
#70187C #7C3E18 #247C18 #18567C
square
#70187C #7C3E18 #247C18 #18567C
split-complementary
#70187C #567C18 #187C3E
monochromatic
#17051A #420E49 #70187C #9E22AF #C536D8

Accessibility & contrast

On white

9.95
#70187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70187C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70187C#FFFFFF#000000##FFFFFF
##70187C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#722C4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70187c;
/* rgb */ color: rgb(112, 24, 124);
/* oklch */ color: oklch(40.4% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#9d61a2',
    500: '#70187c',
    950: '#000000',
  },
}
SCSS
$custom: #70187c;
$custom-light: #9d61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70187c",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 292.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.16814,
    "h": 322.5
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#70187C
secondary
#4DB13F
accent
#EA3D52
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70187C

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

Preview Lab → · Contrast checker → · Palette generator →

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