#70177F#70177F

#70177F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.172 H 321.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#70177F
RGBrgb(112, 23, 127)
HSLhsl(291, 69%, 29%)
HSVhsv(291, 82%, 50%)
CMYKcmyk(11.8%, 81.9%, 0%, 50.2%)
CIE-LABlab(28.35, 51.13, -38.31)
CIE-LCHlch(28.35, 63.89, 323.16°)
OKLaboklab(40.51% 0.1339 -0.1074)
OKLCHoklch(40.51% 0.172 321.3)
XYZxyz(10.8188, 5.5905, 20.5838)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70177F #267F17
analogous
#3C177F #70177F #7F175A
triadic
#70177F #7F7017 #177F70
tetradic
#70177F #7F3C17 #267F17 #175A7F
square
#70177F #7F3C17 #267F17 #175A7F
split-complementary
#70177F #5A7F17 #177F3C
monochromatic
#17051A #420E4B #70177F #9E20B3 #C336DB

Accessibility & contrast

On white

9.92
#70177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#70177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70177F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70177F#FFFFFF#000000##FFFFFF
##70177F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#712D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70177f;
/* rgb */ color: rgb(112, 23, 127);
/* oklch */ color: oklch(40.5% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#9d60a5',
    500: '#70177f',
    950: '#000000',
  },
}
SCSS
$custom: #70177f;
$custom-light: #9d60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70177f",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 291.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.17165,
    "h": 321.3
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#70177F
secondary
#4FB43E
accent
#EC3C55
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70177F

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

Preview Lab → · Contrast checker → · Palette generator →

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