#70157B#70157B

#70157B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.170 H 323.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#70157B
RGBrgb(112, 21, 123)
HSLhsl(294, 71%, 28%)
HSVhsv(294, 83%, 48%)
CMYKcmyk(8.9%, 82.9%, 0%, 51.8%)
CIE-LABlab(27.88, 50.98, -36.55)
CIE-LCHlch(27.88, 62.73, 324.36°)
OKLaboklab(40.09% 0.136 -0.1022)
OKLCHoklch(40.09% 0.17 323.1)
XYZxyz(10.5251, 5.4118, 19.2253)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70157B #207B15
analogous
#3D157B #70157B #7B1553
triadic
#70157B #7B7015 #157B70
tetradic
#70157B #7B3D15 #207B15 #15537B
square
#70157B #7B3D15 #207B15 #15537B
split-complementary
#70157B #537B15 #157B3D
monochromatic
#18041A #400C47 #70157B #A01EAF #C92FDB

Accessibility & contrast

On white

10.09
#70157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#70157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70157B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70157B#FFFFFF#000000##FFFFFF
##70157B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#722A49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70157b;
/* rgb */ color: rgb(112, 21, 123);
/* oklch */ color: oklch(40.1% 0.170 323.1);
Tailwind
colors: {
  custom: {
    50: '#9d60a2',
    500: '#70157b',
    950: '#000000',
  },
}
SCSS
$custom: #70157b;
$custom-light: #9d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70157b",
  "rgb": {
    "r": 112,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 293.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.17013,
    "h": 323.1
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#70157B
secondary
#48B03B
accent
#EE3A4E
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70157B

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

Preview Lab → · Contrast checker → · Palette generator →

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