#70177E#70177E

#70177E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.171 H 321.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#70177E
RGBrgb(112, 23, 126)
HSLhsl(292, 69%, 29%)
HSVhsv(292, 82%, 49%)
CMYKcmyk(11.1%, 81.7%, 0%, 50.6%)
CIE-LABlab(28.29, 50.94, -37.79)
CIE-LCHlch(28.29, 63.43, 323.43°)
OKLaboklab(40.44% 0.134 -0.1059)
OKLCHoklch(40.44% 0.171 321.7)
XYZxyz(10.7540, 5.5645, 20.2422)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70177E #257E17
analogous
#3D177E #70177E #7E1759
triadic
#70177E #7E7017 #177E70
tetradic
#70177E #7E3D17 #257E17 #17597E
square
#70177E #7E3D17 #257E17 #17597E
split-complementary
#70177E #597E17 #177E3D
monochromatic
#17051A #420E4A #70177E #9E20B2 #C435DA

Accessibility & contrast

On white

9.94
#70177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70177E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70177E#FFFFFF#000000##FFFFFF
##70177E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#712D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70177e;
/* rgb */ color: rgb(112, 23, 126);
/* oklch */ color: oklch(40.4% 0.171 321.7);
Tailwind
colors: {
  custom: {
    50: '#9d60a4',
    500: '#70177e',
    950: '#000000',
  },
}
SCSS
$custom: #70177e;
$custom-light: #9d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70177e",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 291.845,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.1708,
    "h": 321.7
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#70177E
secondary
#4EB33E
accent
#EC3C54
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70177E

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

Preview Lab → · Contrast checker → · Palette generator →

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