#70157F#70157F

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

Color values

HEX#70157F
RGBrgb(112, 21, 127)
HSLhsl(292, 72%, 29%)
HSVhsv(292, 83%, 50%)
CMYKcmyk(11.8%, 83.5%, 0%, 50.2%)
CIE-LABlab(28.15, 51.72, -38.64)
CIE-LCHlch(28.15, 64.56, 323.24°)
OKLaboklab(40.37% 0.1355 -0.1083)
OKLCHoklch(40.37% 0.173 321.3)
XYZxyz(10.7806, 5.5140, 20.5710)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70157F #247F15
analogous
#3B157F #70157F #7F1559
triadic
#70157F #7F7015 #157F70
tetradic
#70157F #7F3B15 #247F15 #15597F
square
#70157F #7F3B15 #247F15 #15597F
split-complementary
#70157F #597F15 #157F3B
monochromatic
#17041A #420C4A #70157F #9E1EB4 #C531DD

Accessibility & contrast

On white

9.99
#70157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70157F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70157F#FFFFFF#000000##FFFFFF
##70157F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#24467D
Tritanopia (blue-blind)
#712C4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70157f;
/* rgb */ color: rgb(112, 21, 127);
/* oklch */ color: oklch(40.4% 0.173 321.3);
Tailwind
colors: {
  custom: {
    50: '#9d60a5',
    500: '#70157f',
    950: '#000000',
  },
}
SCSS
$custom: #70157f;
$custom-light: #9d60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70157f",
  "rgb": {
    "r": 112,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 291.509,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.17347,
    "h": 321.3
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#70157F
secondary
#4DB43C
accent
#EE3953
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70157F

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

Preview Lab → · Contrast checker → · Palette generator →

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