#70186D#70186D

#70186D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.156 H 329.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#70186D
RGBrgb(112, 24, 109)
HSLhsl(302, 65%, 27%)
HSVhsv(302, 79%, 44%)
CMYKcmyk(0%, 78.6%, 2.7%, 56.1%)
CIE-LABlab(27.31, 47.55, -28.53)
CIE-LCHlch(27.31, 55.45, 329.04°)
OKLaboklab(39.39% 0.1342 -0.0789)
OKLCHoklch(39.39% 0.156 329.6)
XYZxyz(9.7690, 5.2029, 14.9548)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70186D #18701B
analogous
#471870 #70186D #701841
triadic
#70186D #6D7018 #186D70
tetradic
#70186D #704718 #18701B #184170
square
#70186D #704718 #18701B #184170
split-complementary
#70186D #417018 #187047
monochromatic
#190519 #3E0D3C #70186D #A2239E #D330CD

Accessibility & contrast

On white

10.29
#70186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#70186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70186D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70186D#FFFFFF#000000##FFFFFF
##70186D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A396F
Deuteranopia (green-blind)
#33456B
Tritanopia (blue-blind)
#742541
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #70186d;
/* rgb */ color: rgb(112, 24, 109);
/* oklch */ color: oklch(39.4% 0.156 329.6);
Tailwind
colors: {
  custom: {
    50: '#9c6097',
    500: '#70186d',
    950: '#000000',
  },
}
SCSS
$custom: #70186d;
$custom-light: #9c6097;
$custom-dark: #000000;
JSON
{
  "hex": "#70186d",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 302.045,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.15566,
    "h": 329.6
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#70186D
secondary
#3EA542
accent
#E84640
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050D
muted
#7E7A7E

Preview Lab

Preview with #70186D

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

Preview Lab → · Contrast checker → · Palette generator →

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