#70186F#70186F

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

Color values

HEX#70186F
RGBrgb(112, 24, 111)
HSLhsl(301, 65%, 27%)
HSVhsv(301, 79%, 44%)
CMYKcmyk(0%, 78.6%, 0.9%, 56.1%)
CIE-LABlab(27.43, 47.90, -29.62)
CIE-LCHlch(27.43, 56.32, 328.27°)
OKLaboklab(39.52% 0.1342 -0.082)
OKLCHoklch(39.52% 0.157 328.6)
XYZxyz(9.8779, 5.2464, 15.5282)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70186F #187019
analogous
#451870 #70186F #701843
triadic
#70186F #6F7018 #186F70
tetradic
#70186F #704518 #187019 #184370
square
#70186F #704518 #187019 #184370
split-complementary
#70186F #437018 #187045
monochromatic
#190519 #3E0D3D #70186F #A223A1 #D330D1

Accessibility & contrast

On white

10.25
#70186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#70186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70186F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70186F#FFFFFF#000000##FFFFFF
##70186F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063971
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#742643
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #70186f;
/* rgb */ color: rgb(112, 24, 111);
/* oklch */ color: oklch(39.5% 0.157 328.6);
Tailwind
colors: {
  custom: {
    50: '#9c6099',
    500: '#70186f',
    950: '#000000',
  },
}
SCSS
$custom: #70186f;
$custom-light: #9c6099;
$custom-dark: #000000;
JSON
{
  "hex": "#70186f",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 300.682,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.15728,
    "h": 328.6
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#70186F
secondary
#3EA53F
accent
#E84240
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #70186F

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

Preview Lab → · Contrast checker → · Palette generator →

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