#70147D#70147D

#70147D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.173 H 322.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#70147D
RGBrgb(112, 20, 125)
HSLhsl(293, 72%, 28%)
HSVhsv(293, 84%, 49%)
CMYKcmyk(10.4%, 84%, 0%, 51%)
CIE-LABlab(27.92, 51.63, -37.75)
CIE-LCHlch(27.92, 63.96, 323.82°)
OKLaboklab(40.16% 0.1365 -0.1057)
OKLCHoklch(40.16% 0.173 322.2)
XYZxyz(10.6335, 5.4264, 19.8854)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70147D #217D14
analogous
#3B147D #70147D #7D1455
triadic
#70147D #7D7014 #147D70
tetradic
#70147D #7D3B14 #217D14 #14557D
square
#70147D #7D3B14 #217D14 #14557D
split-complementary
#70147D #557D14 #147D3B
monochromatic
#18041A #410C48 #70147D #9F1CB2 #C82EDE

Accessibility & contrast

On white

10.07
#70147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#70147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70147D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70147D#FFFFFF#000000##FFFFFF
##70147D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#712B4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70147d;
/* rgb */ color: rgb(112, 20, 125);
/* oklch */ color: oklch(40.2% 0.173 322.2);
Tailwind
colors: {
  custom: {
    50: '#9d5fa3',
    500: '#70147d',
    950: '#000000',
  },
}
SCSS
$custom: #70147d;
$custom-light: #9d5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#70147d",
  "rgb": {
    "r": 112,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 292.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.17267,
    "h": 322.2
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#70147D
secondary
#49B23A
accent
#EF394F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70147D

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

Preview Lab → · Contrast checker → · Palette generator →

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