#70168F#70168F

#70168F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.186 H 315.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#70168F
RGBrgb(112, 22, 143)
HSLhsl(285, 73%, 32%)
HSVhsv(285, 85%, 56%)
CMYKcmyk(21.7%, 84.6%, 0%, 43.9%)
CIE-LABlab(29.42, 54.55, -46.58)
CIE-LCHlch(29.42, 71.73, 319.50°)
OKLaboklab(41.63% 0.1318 -0.1317)
OKLCHoklch(41.63% 0.186 315)
XYZxyz(11.9261, 6.0022, 26.5116)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70168F #358F16
analogous
#34168F #70168F #8F1672
triadic
#70168F #8F7016 #168F70
tetradic
#70168F #8F3416 #358F16 #16728F
square
#70168F #8F3416 #358F16 #16728F
split-complementary
#70168F #728F16 #168F34
monochromatic
#1D0625 #460E5A #70168F #9A1EC4 #B73EE1

Accessibility & contrast

On white

9.54
#70168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#70168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70168F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70168F#FFFFFF#000000##FFFFFF
##70168F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#0C478D
Tritanopia (blue-blind)
#6D3555
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70168f;
/* rgb */ color: rgb(112, 22, 143);
/* oklch */ color: oklch(41.6% 0.186 315.0);
Tailwind
colors: {
  custom: {
    50: '#9d61b1',
    500: '#70168f',
    950: '#000000',
  },
}
SCSS
$custom: #70168f;
$custom-light: #9d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#70168f",
  "rgb": {
    "r": 112,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 284.628,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.18629,
    "h": 315
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#70168F
secondary
#61C13F
accent
#F03867
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #70168F

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

Preview Lab → · Contrast checker → · Palette generator →

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