#70158D#70158D

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

Color values

HEX#70158D
RGBrgb(112, 21, 141)
HSLhsl(286, 74%, 32%)
HSVhsv(286, 85%, 55%)
CMYKcmyk(20.6%, 85.1%, 0%, 44.7%)
CIE-LABlab(29.17, 54.43, -45.74)
CIE-LCHlch(29.17, 71.10, 319.96°)
OKLaboklab(41.4% 0.1329 -0.1292)
OKLCHoklch(41.4% 0.185 315.8)
XYZxyz(11.7572, 5.9046, 25.7145)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70158D #328D15
analogous
#34158D #70158D #8D156E
triadic
#70158D #8D7015 #158D70
tetradic
#70158D #8D3415 #328D15 #156E8D
square
#70158D #8D3415 #328D15 #156E8D
split-complementary
#70158D #6E8D15 #158D34
monochromatic
#1B0522 #460D58 #70158D #9A1DC2 #B93BE2

Accessibility & contrast

On white

9.63
#70158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#70158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70158D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70158D#FFFFFF#000000##FFFFFF
##70158D1.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)
#004090
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#6E3353
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70158d;
/* rgb */ color: rgb(112, 21, 141);
/* oklch */ color: oklch(41.4% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#9d61af',
    500: '#70158d',
    950: '#000000',
  },
}
SCSS
$custom: #70158d;
$custom-light: #9d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#70158d",
  "rgb": {
    "r": 112,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 285.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.18538,
    "h": 315.8
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#70158D
secondary
#5DC13D
accent
#F13764
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #70158D

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

Preview Lab → · Contrast checker → · Palette generator →

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