#70186C#70186C

#70186C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.155 H 330.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#70186C
RGBrgb(112, 24, 108)
HSLhsl(303, 65%, 27%)
HSVhsv(303, 79%, 44%)
CMYKcmyk(0%, 78.6%, 3.6%, 56.1%)
CIE-LABlab(27.25, 47.38, -27.98)
CIE-LCHlch(27.25, 55.02, 329.44°)
OKLaboklab(39.33% 0.1342 -0.0773)
OKLCHoklch(39.33% 0.155 330.1)
XYZxyz(9.7155, 5.1815, 14.6729)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70186C #18701C
analogous
#481870 #70186C #701840
triadic
#70186C #6C7018 #186C70
tetradic
#70186C #704818 #18701C #184070
square
#70186C #704818 #18701C #184070
split-complementary
#70186C #407018 #187048
monochromatic
#190518 #3E0D3B #70186C #A2239D #D330CB

Accessibility & contrast

On white

10.31
#70186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70186C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70186C#FFFFFF#000000##FFFFFF
##70186C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C396E
Deuteranopia (green-blind)
#33446A
Tritanopia (blue-blind)
#742441
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #70186c;
/* rgb */ color: rgb(112, 24, 108);
/* oklch */ color: oklch(39.3% 0.155 330.1);
Tailwind
colors: {
  custom: {
    50: '#9c6096',
    500: '#70186c',
    950: '#000000',
  },
}
SCSS
$custom: #70186c;
$custom-light: #9c6096;
$custom-dark: #000000;
JSON
{
  "hex": "#70186c",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 302.727,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.15485,
    "h": 330.1
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#70186C
secondary
#3EA543
accent
#E84840
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050D
muted
#7E7A7E

Preview Lab

Preview with #70186C

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

Preview Lab → · Contrast checker → · Palette generator →

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