#70167B#70167B

#70167B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.169 H 323.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#70167B
RGBrgb(112, 22, 123)
HSLhsl(293, 70%, 28%)
HSVhsv(293, 82%, 48%)
CMYKcmyk(8.9%, 82.1%, 0%, 51.8%)
CIE-LABlab(27.98, 50.68, -36.39)
CIE-LCHlch(27.98, 62.39, 324.32°)
OKLaboklab(40.16% 0.1352 -0.1018)
OKLCHoklch(40.16% 0.169 323)
XYZxyz(10.5438, 5.4493, 19.2315)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70167B #217B16
analogous
#3D167B #70167B #7B1653
triadic
#70167B #7B7016 #167B70
tetradic
#70167B #7B3D16 #217B16 #16537B
square
#70167B #7B3D16 #217B16 #16537B
split-complementary
#70167B #537B16 #167B3D
monochromatic
#18051A #410D47 #70167B #9F1FAF #C831DA

Accessibility & contrast

On white

10.05
#70167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#70167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70167B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70167B#FFFFFF#000000##FFFFFF
##70167B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#722B49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70167b;
/* rgb */ color: rgb(112, 22, 123);
/* oklch */ color: oklch(40.2% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#9d60a2',
    500: '#70167b',
    950: '#000000',
  },
}
SCSS
$custom: #70167b;
$custom-light: #9d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70167b",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 293.465,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.16921,
    "h": 323
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#70167B
secondary
#49B03D
accent
#EC3B4F
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70167B

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

Preview Lab → · Contrast checker → · Palette generator →

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