#70148D#70148D

#70148D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.186 H 315.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#70148D
RGBrgb(112, 20, 141)
HSLhsl(286, 75%, 32%)
HSVhsv(286, 86%, 55%)
CMYKcmyk(20.6%, 85.8%, 0%, 44.7%)
CIE-LABlab(29.08, 54.70, -45.89)
CIE-LCHlch(29.08, 71.40, 320.00°)
OKLaboklab(41.34% 0.1336 -0.1296)
OKLCHoklch(41.34% 0.186 315.9)
XYZxyz(11.7392, 5.8686, 25.7085)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70148D #318D14
analogous
#34148D #70148D #8D146E
triadic
#70148D #8D7014 #148D70
tetradic
#70148D #8D3414 #318D14 #146E8D
square
#70148D #8D3414 #318D14 #146E8D
split-complementary
#70148D #6E8D14 #148D34
monochromatic
#1B0522 #450C57 #70148D #9B1CC3 #BA39E3

Accessibility & contrast

On white

9.66
#70148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#70148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70148D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70148D#FFFFFF#000000##FFFFFF
##70148D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#0F478B
Tritanopia (blue-blind)
#6E3353
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70148d;
/* rgb */ color: rgb(112, 20, 141);
/* oklch */ color: oklch(41.3% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#9d60af',
    500: '#70148d',
    950: '#000000',
  },
}
SCSS
$custom: #70148d;
$custom-light: #9d60af;
$custom-dark: #000000;
JSON
{
  "hex": "#70148d",
  "rgb": {
    "r": 112,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 285.62,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.18617,
    "h": 315.9
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#70148D
secondary
#5CC13C
accent
#F23663
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #70148D

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

Preview Lab → · Contrast checker → · Palette generator →

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