#70167F#70167F

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

Color values

HEX#70167F
RGBrgb(112, 22, 127)
HSLhsl(291, 70%, 29%)
HSVhsv(291, 83%, 50%)
CMYKcmyk(11.8%, 82.7%, 0%, 50.2%)
CIE-LABlab(28.25, 51.43, -38.48)
CIE-LCHlch(28.25, 64.23, 323.20°)
OKLaboklab(40.44% 0.1347 -0.1079)
OKLCHoklch(40.44% 0.173 321.3)
XYZxyz(10.7993, 5.5515, 20.5773)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70167F #257F16
analogous
#3C167F #70167F #7F165A
triadic
#70167F #7F7016 #167F70
tetradic
#70167F #7F3C16 #257F16 #165A7F
square
#70167F #7F3C16 #257F16 #165A7F
split-complementary
#70167F #5A7F16 #167F3C
monochromatic
#17051A #420D4B #70167F #9E1FB3 #C434DC

Accessibility & contrast

On white

9.95
#70167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#70167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70167F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70167F#FFFFFF#000000##FFFFFF
##70167F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70167f;
/* rgb */ color: rgb(112, 22, 127);
/* oklch */ color: oklch(40.4% 0.173 321.3);
Tailwind
colors: {
  custom: {
    50: '#9d60a5',
    500: '#70167f',
    950: '#000000',
  },
}
SCSS
$custom: #70167f;
$custom-light: #9d60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70167f",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 291.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.17258,
    "h": 321.3
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#70167F
secondary
#4EB43D
accent
#ED3B54
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70167F

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

Preview Lab → · Contrast checker → · Palette generator →

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