#70177D#70177D

#70177D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.170 H 322.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#70177D
RGBrgb(112, 23, 125)
HSLhsl(292, 69%, 29%)
HSVhsv(292, 82%, 49%)
CMYKcmyk(10.4%, 81.6%, 0%, 51%)
CIE-LABlab(28.22, 50.76, -37.27)
CIE-LCHlch(28.22, 62.97, 323.71°)
OKLaboklab(40.37% 0.1341 -0.1044)
OKLCHoklch(40.37% 0.17 322.1)
XYZxyz(10.6898, 5.5388, 19.9041)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70177D #247D17
analogous
#3D177D #70177D #7D1757
triadic
#70177D #7D7017 #177D70
tetradic
#70177D #7D3D17 #247D17 #17577D
square
#70177D #7D3D17 #247D17 #17577D
split-complementary
#70177D #577D17 #177D3D
monochromatic
#17051A #420D49 #70177D #9E21B1 #C535DA

Accessibility & contrast

On white

9.96
#70177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#70177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70177D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70177D#FFFFFF#000000##FFFFFF
##70177D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#712C4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70177d;
/* rgb */ color: rgb(112, 23, 125);
/* oklch */ color: oklch(40.4% 0.170 322.1);
Tailwind
colors: {
  custom: {
    50: '#9d60a3',
    500: '#70177d',
    950: '#000000',
  },
}
SCSS
$custom: #70177d;
$custom-light: #9d60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70177d",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 292.353,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.16995,
    "h": 322.1
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#70177D
secondary
#4DB23E
accent
#EC3C52
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70177D

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

Preview Lab → · Contrast checker → · Palette generator →

#70177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva