#70148E#70148E

#70148E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.187 H 315.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#70148E
RGBrgb(112, 20, 142)
HSLhsl(285, 75%, 32%)
HSVhsv(285, 86%, 56%)
CMYKcmyk(21.1%, 85.9%, 0%, 44.3%)
CIE-LABlab(29.15, 54.90, -46.39)
CIE-LCHlch(29.15, 71.87, 319.80°)
OKLaboklab(41.42% 0.1334 -0.1311)
OKLCHoklch(41.42% 0.187 315.5)
XYZxyz(11.8139, 5.8985, 26.1022)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70148E #328E14
analogous
#33148E #70148E #8E146F
triadic
#70148E #8E7014 #148E70
tetradic
#70148E #8E3314 #328E14 #146F8E
square
#70148E #8E3314 #328E14 #146F8E
split-complementary
#70148E #6F8E14 #148E33
monochromatic
#1B0523 #460C58 #70148E #9A1CC4 #B939E3

Accessibility & contrast

On white

9.63
#70148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#70148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70148E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70148E#FFFFFF#000000##FFFFFF
##70148E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#0D478C
Tritanopia (blue-blind)
#6E3454
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70148e;
/* rgb */ color: rgb(112, 20, 142);
/* oklch */ color: oklch(41.4% 0.187 315.5);
Tailwind
colors: {
  custom: {
    50: '#9d60b0',
    500: '#70148e',
    950: '#000000',
  },
}
SCSS
$custom: #70148e;
$custom-light: #9d60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70148e",
  "rgb": {
    "r": 112,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 285.246,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.18702,
    "h": 315.5
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#70148E
secondary
#5DC23C
accent
#F23664
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #70148E

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

Preview Lab → · Contrast checker → · Palette generator →

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