#70158F#70158F

#70158F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.187 H 315.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#70158F
RGBrgb(112, 21, 143)
HSLhsl(285, 74%, 32%)
HSVhsv(285, 85%, 56%)
CMYKcmyk(21.7%, 85.3%, 0%, 43.9%)
CIE-LABlab(29.32, 54.83, -46.73)
CIE-LCHlch(29.32, 72.04, 319.56°)
OKLaboklab(41.56% 0.1325 -0.1321)
OKLCHoklch(41.56% 0.187 315.1)
XYZxyz(11.9074, 5.9647, 26.5053)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70158F #348F15
analogous
#33158F #70158F #8F1571
triadic
#70158F #8F7015 #158F70
tetradic
#70158F #8F3315 #348F15 #15718F
square
#70158F #8F3315 #348F15 #15718F
split-complementary
#70158F #718F15 #158F33
monochromatic
#1C0524 #460D5A #70158F #9A1DC4 #B83CE2

Accessibility & contrast

On white

9.58
#70158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#70158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70158F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70158F#FFFFFF#000000##FFFFFF
##70158F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#6D3454
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70158f;
/* rgb */ color: rgb(112, 21, 143);
/* oklch */ color: oklch(41.6% 0.187 315.1);
Tailwind
colors: {
  custom: {
    50: '#9e61b1',
    500: '#70158f',
    950: '#000000',
  },
}
SCSS
$custom: #70158f;
$custom-light: #9e61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#70158f",
  "rgb": {
    "r": 112,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 284.754,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.1871,
    "h": 315.1
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#70158F
secondary
#5FC23E
accent
#F13766
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0511
muted
#7F7A80

Preview Lab

Preview with #70158F

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

Preview Lab → · Contrast checker → · Palette generator →

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