#70187E#70187E

#70187E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.170 H 321.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#70187E
RGBrgb(112, 24, 126)
HSLhsl(292, 68%, 29%)
HSVhsv(292, 81%, 49%)
CMYKcmyk(11.1%, 81%, 0%, 50.6%)
CIE-LABlab(28.39, 50.63, -37.62)
CIE-LCHlch(28.39, 63.08, 323.39°)
OKLaboklab(40.52% 0.1332 -0.1054)
OKLCHoklch(40.52% 0.17 321.6)
XYZxyz(10.7742, 5.6050, 20.2490)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70187E #267E18
analogous
#3D187E #70187E #7E1859
triadic
#70187E #7E7018 #187E70
tetradic
#70187E #7E3D18 #267E18 #18597E
square
#70187E #7E3D18 #267E18 #18597E
split-complementary
#70187E #597E18 #187E3D
monochromatic
#17051A #420E4B #70187E #9E22B1 #C337D9

Accessibility & contrast

On white

9.90
#70187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70187E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70187E#FFFFFF#000000##FFFFFF
##70187E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#712D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70187e;
/* rgb */ color: rgb(112, 24, 126);
/* oklch */ color: oklch(40.5% 0.170 321.6);
Tailwind
colors: {
  custom: {
    50: '#9d61a4',
    500: '#70187e',
    950: '#000000',
  },
}
SCSS
$custom: #70187e;
$custom-light: #9d61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70187e",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 291.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.16984,
    "h": 321.6
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#70187E
secondary
#4FB23F
accent
#EB3D55
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70187E

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

Preview Lab → · Contrast checker → · Palette generator →

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