#70167D#70167D

#70167D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.171 H 322.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#70167D
RGBrgb(112, 22, 125)
HSLhsl(292, 70%, 29%)
HSVhsv(292, 82%, 49%)
CMYKcmyk(10.4%, 82.4%, 0%, 51%)
CIE-LABlab(28.11, 51.06, -37.44)
CIE-LCHlch(28.11, 63.31, 323.75°)
OKLaboklab(40.3% 0.1349 -0.1048)
OKLCHoklch(40.3% 0.171 322.2)
XYZxyz(10.6703, 5.4999, 19.8976)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70167D #237D16
analogous
#3D167D #70167D #7D1657
triadic
#70167D #7D7016 #167D70
tetradic
#70167D #7D3D16 #237D16 #16577D
square
#70167D #7D3D16 #237D16 #16577D
split-complementary
#70167D #577D16 #167D3D
monochromatic
#17051A #410D49 #70167D #9F1FB1 #C632DB

Accessibility & contrast

On white

10.00
#70167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#70167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70167D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70167D#FFFFFF#000000##FFFFFF
##70167D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70167d;
/* rgb */ color: rgb(112, 22, 125);
/* oklch */ color: oklch(40.3% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#9d60a3',
    500: '#70167d',
    950: '#000000',
  },
}
SCSS
$custom: #70167d;
$custom-light: #9d60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70167d",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 292.427,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.17089,
    "h": 322.2
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#70167D
secondary
#4CB23D
accent
#ED3B51
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70167D

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

Preview Lab → · Contrast checker → · Palette generator →

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