#70218A#70218A

#70218A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.171 H 316.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#70218A
RGBrgb(112, 33, 138)
HSLhsl(285, 61%, 34%)
HSVhsv(285, 76%, 54%)
CMYKcmyk(18.8%, 76.1%, 0%, 45.9%)
CIE-LABlab(30.32, 49.86, -42.02)
CIE-LCHlch(30.32, 65.20, 319.87°)
OKLaboklab(42.15% 0.1234 -0.1183)
OKLCHoklch(42.15% 0.171 316.2)
XYZxyz(11.8127, 6.3679, 24.6467)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70218A #3B8A21
analogous
#3B218A #70218A #8A216F
triadic
#70218A #8A7021 #218A70
tetradic
#70218A #8A3B21 #3B8A21 #216F8A
square
#70218A #8A3B21 #3B8A21 #216F8A
split-complementary
#70218A #6F8A21 #218A3B
monochromatic
#200927 #481559 #70218A #982DBB #B450D5

Accessibility & contrast

On white

9.24
#70218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#70218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70218A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70218A#FFFFFF#000000##FFFFFF
##70218A1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#6E3854
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #70218a;
/* rgb */ color: rgb(112, 33, 138);
/* oklch */ color: oklch(42.1% 0.171 316.2);
Tailwind
colors: {
  custom: {
    50: '#9d65ad',
    500: '#70218a',
    950: '#000000',
  },
}
SCSS
$custom: #70218a;
$custom-light: #9d65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70218a",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 285.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42146,
    "c": 0.17101,
    "h": 316.2
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#70218A
secondary
#69B94E
accent
#E5436B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70218A

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

Preview Lab → · Contrast checker → · Palette generator →

#70218A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva