#70157E#70157E

#70157E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 321.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#70157E
RGBrgb(112, 21, 126)
HSLhsl(292, 71%, 29%)
HSVhsv(292, 83%, 49%)
CMYKcmyk(11.1%, 83.3%, 0%, 50.6%)
CIE-LABlab(28.08, 51.53, -38.12)
CIE-LCHlch(28.08, 64.10, 323.51°)
OKLaboklab(40.3% 0.1356 -0.1068)
OKLCHoklch(40.3% 0.173 321.8)
XYZxyz(10.7157, 5.4881, 20.2295)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70157E #237E15
analogous
#3C157E #70157E #7E1558
triadic
#70157E #7E7015 #157E70
tetradic
#70157E #7E3C15 #237E15 #15587E
square
#70157E #7E3C15 #237E15 #15587E
split-complementary
#70157E #587E15 #157E3C
monochromatic
#17041A #410C4A #70157E #9F1EB2 #C631DD

Accessibility & contrast

On white

10.01
#70157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#70157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70157E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70157E#FFFFFF#000000##FFFFFF
##70157E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#25457C
Tritanopia (blue-blind)
#712C4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70157e;
/* rgb */ color: rgb(112, 21, 126);
/* oklch */ color: oklch(40.3% 0.173 321.8);
Tailwind
colors: {
  custom: {
    50: '#9d60a4',
    500: '#70157e',
    950: '#000000',
  },
}
SCSS
$custom: #70157e;
$custom-light: #9d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70157e",
  "rgb": {
    "r": 112,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 292,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.17263,
    "h": 321.8
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#70157E
secondary
#4CB33C
accent
#EE3A52
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70157E

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

Preview Lab → · Contrast checker → · Palette generator →

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