#70187D#70187D

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

Color values

HEX#70187D
RGBrgb(112, 24, 125)
HSLhsl(292, 68%, 29%)
HSVhsv(292, 81%, 49%)
CMYKcmyk(10.4%, 80.8%, 0%, 51%)
CIE-LABlab(28.33, 50.44, -37.10)
CIE-LCHlch(28.33, 62.62, 323.67°)
OKLaboklab(40.45% 0.1333 -0.1039)
OKLCHoklch(40.45% 0.169 322.1)
XYZxyz(10.7100, 5.5793, 19.9109)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70187D #257D18
analogous
#3E187D #70187D #7D1858
triadic
#70187D #7D7018 #187D70
tetradic
#70187D #7D3E18 #257D18 #18587D
square
#70187D #7D3E18 #257D18 #18587D
split-complementary
#70187D #587D18 #187D3E
monochromatic
#17051A #420E4A #70187D #9E22B0 #C437D9

Accessibility & contrast

On white

9.93
#70187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#70187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70187D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70187D#FFFFFF#000000##FFFFFF
##70187D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#712D4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70187d;
/* rgb */ color: rgb(112, 24, 125);
/* oklch */ color: oklch(40.4% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#9d61a3',
    500: '#70187d',
    950: '#000000',
  },
}
SCSS
$custom: #70187d;
$custom-light: #9d61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70187d",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 292.277,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.16898,
    "h": 322.1
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#70187D
secondary
#4EB23F
accent
#EB3D53
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70187D

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

Preview Lab → · Contrast checker → · Palette generator →

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