#70186E#70186E

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

Color values

HEX#70186E
RGBrgb(112, 24, 110)
HSLhsl(301, 65%, 27%)
HSVhsv(301, 79%, 44%)
CMYKcmyk(0%, 78.6%, 1.8%, 56.1%)
CIE-LABlab(27.36, 47.72, -29.07)
CIE-LCHlch(27.36, 55.88, 328.65°)
OKLaboklab(39.46% 0.1342 -0.0805)
OKLCHoklch(39.46% 0.156 329.1)
XYZxyz(9.8231, 5.2245, 15.2399)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70186E #18701A
analogous
#461870 #70186E #701842
triadic
#70186E #6E7018 #186E70
tetradic
#70186E #704618 #18701A #184270
square
#70186E #704618 #18701A #184270
split-complementary
#70186E #427018 #187046
monochromatic
#190519 #3E0D3D #70186E #A223A0 #D330CF

Accessibility & contrast

On white

10.27
#70186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70186E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70186E#FFFFFF#000000##FFFFFF
##70186E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083970
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#742542
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #70186e;
/* rgb */ color: rgb(112, 24, 110);
/* oklch */ color: oklch(39.5% 0.156 329.1);
Tailwind
colors: {
  custom: {
    50: '#9c6098',
    500: '#70186e',
    950: '#000000',
  },
}
SCSS
$custom: #70186e;
$custom-light: #9c6098;
$custom-dark: #000000;
JSON
{
  "hex": "#70186e",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 301.364,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39455,
    "c": 0.15646,
    "h": 329.1
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#70186E
secondary
#3EA541
accent
#E84440
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050D
muted
#7E7A7E

Preview Lab

Preview with #70186E

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

Preview Lab → · Contrast checker → · Palette generator →

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