#70187F#70187F

#70187F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.171 H 321.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#70187F
RGBrgb(112, 24, 127)
HSLhsl(291, 68%, 30%)
HSVhsv(291, 81%, 50%)
CMYKcmyk(11.8%, 81.1%, 0%, 50.2%)
CIE-LABlab(28.46, 50.82, -38.14)
CIE-LCHlch(28.46, 63.54, 323.11°)
OKLaboklab(40.59% 0.1331 -0.1069)
OKLCHoklch(40.59% 0.171 321.2)
XYZxyz(10.8391, 5.6309, 20.5905)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70187F #277F18
analogous
#3D187F #70187F #7F185B
triadic
#70187F #7F7018 #187F70
tetradic
#70187F #7F3D18 #277F18 #185B7F
square
#70187F #7F3D18 #277F18 #185B7F
split-complementary
#70187F #5B7F18 #187F3D
monochromatic
#17051A #430E4C #70187F #9D22B2 #C238D9

Accessibility & contrast

On white

9.88
#70187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#70187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70187F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70187F#FFFFFF#000000##FFFFFF
##70187F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#712E4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70187f;
/* rgb */ color: rgb(112, 24, 127);
/* oklch */ color: oklch(40.6% 0.171 321.2);
Tailwind
colors: {
  custom: {
    50: '#9d61a5',
    500: '#70187f',
    950: '#000000',
  },
}
SCSS
$custom: #70187f;
$custom-light: #9d61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70187f",
  "rgb": {
    "r": 112,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 291.262,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.1707,
    "h": 321.2
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#70187F
secondary
#50B33F
accent
#EB3D56
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70187F

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

Preview Lab → · Contrast checker → · Palette generator →

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