#70218D#70218D

#70218D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.174 H 315.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#70218D
RGBrgb(112, 33, 141)
HSLhsl(284, 62%, 34%)
HSVhsv(284, 77%, 55%)
CMYKcmyk(20.6%, 76.6%, 0%, 44.7%)
CIE-LABlab(30.53, 50.48, -43.54)
CIE-LCHlch(30.53, 66.66, 319.22°)
OKLaboklab(42.36% 0.123 -0.1228)
OKLCHoklch(42.36% 0.174 315.1)
XYZxyz(12.0329, 6.4560, 25.8064)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70218D #3E8D21
analogous
#3A218D #70218D #8D2174
triadic
#70218D #8D7021 #218D70
tetradic
#70218D #8D3A21 #3E8D21 #21748D
square
#70218D #8D3A21 #3E8D21 #21748D
split-complementary
#70218D #748D21 #218D3A
monochromatic
#210A2A #49155B #70218D #972DBF #B352D6

Accessibility & contrast

On white

9.17
#70218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#70218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70218D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70218D#FFFFFF#000000##FFFFFF
##70218D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#6E3956
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70218d;
/* rgb */ color: rgb(112, 33, 141);
/* oklch */ color: oklch(42.4% 0.174 315.1);
Tailwind
colors: {
  custom: {
    50: '#9d65af',
    500: '#70218d',
    950: '#000000',
  },
}
SCSS
$custom: #70218d;
$custom-light: #9d65af;
$custom-dark: #000000;
JSON
{
  "hex": "#70218d",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 283.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.17382,
    "h": 315.1
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#70218D
secondary
#6CBA50
accent
#E5436E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70218D

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

Preview Lab → · Contrast checker → · Palette generator →

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