#70148A#70148A

#70148A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.184 H 317.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#70148A
RGBrgb(112, 20, 138)
HSLhsl(287, 75%, 31%)
HSVhsv(287, 86%, 54%)
CMYKcmyk(18.8%, 85.5%, 0%, 45.9%)
CIE-LABlab(28.85, 54.11, -44.40)
CIE-LCHlch(28.85, 69.99, 320.63°)
OKLaboklab(41.11% 0.1343 -0.1252)
OKLCHoklch(41.11% 0.184 317)
XYZxyz(11.5190, 5.7805, 24.5488)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70148A #2E8A14
analogous
#35148A #70148A #8A1469
triadic
#70148A #8A7014 #148A70
tetradic
#70148A #8A3514 #2E8A14 #14698A
square
#70148A #8A3514 #2E8A14 #14698A
split-complementary
#70148A #698A14 #148A35
monochromatic
#19051F #450C55 #70148A #9B1CBF #BC36E2

Accessibility & contrast

On white

9.74
#70148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#70148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70148A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70148A#FFFFFF#000000##FFFFFF
##70148A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#6F3251
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70148a;
/* rgb */ color: rgb(112, 20, 138);
/* oklch */ color: oklch(41.1% 0.184 317.0);
Tailwind
colors: {
  custom: {
    50: '#9d60ad',
    500: '#70148a',
    950: '#000000',
  },
}
SCSS
$custom: #70148a;
$custom-light: #9d60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70148a",
  "rgb": {
    "r": 112,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 286.78,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4111,
    "c": 0.18361,
    "h": 317
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#70148A
secondary
#58BE3C
accent
#F13660
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #70148A

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

Preview Lab → · Contrast checker → · Palette generator →

#70148A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva