#70157C#70157C

#70157C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.171 H 322.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#70157C
RGBrgb(112, 21, 124)
HSLhsl(293, 71%, 28%)
HSVhsv(293, 83%, 49%)
CMYKcmyk(9.7%, 83.1%, 0%, 51.4%)
CIE-LABlab(27.95, 51.16, -37.08)
CIE-LCHlch(27.95, 63.18, 324.07°)
OKLaboklab(40.16% 0.1359 -0.1038)
OKLCHoklch(40.16% 0.171 322.6)
XYZxyz(10.5880, 5.4370, 19.5566)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70157C #217C15
analogous
#3C157C #70157C #7C1554
triadic
#70157C #7C7015 #157C70
tetradic
#70157C #7C3C15 #217C15 #15547C
square
#70157C #7C3C15 #217C15 #15547C
split-complementary
#70157C #547C15 #157C3C
monochromatic
#18041A #410C48 #70157C #9F1EB0 #C830DC

Accessibility & contrast

On white

10.06
#70157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#70157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70157C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70157C#FFFFFF#000000##FFFFFF
##70157C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#27457A
Tritanopia (blue-blind)
#722B49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70157c;
/* rgb */ color: rgb(112, 21, 124);
/* oklch */ color: oklch(40.2% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#9d60a2',
    500: '#70157c',
    950: '#000000',
  },
}
SCSS
$custom: #70157c;
$custom-light: #9d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70157c",
  "rgb": {
    "r": 112,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 293.01,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.17096,
    "h": 322.6
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#70157C
secondary
#49B13C
accent
#EE3A4F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70157C

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

Preview Lab → · Contrast checker → · Palette generator →

#70157C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva