#70218F#70218F

#70218F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.176 H 314.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#70218F
RGBrgb(112, 33, 143)
HSLhsl(283, 63%, 35%)
HSVhsv(283, 77%, 56%)
CMYKcmyk(21.7%, 76.9%, 0%, 43.9%)
CIE-LABlab(30.68, 50.90, -44.54)
CIE-LCHlch(30.68, 67.64, 318.81°)
OKLaboklab(42.51% 0.1227 -0.1257)
OKLCHoklch(42.51% 0.176 314.3)
XYZxyz(12.1830, 6.5160, 26.5972)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70218F #408F21
analogous
#39218F #70218F #8F2177
triadic
#70218F #8F7021 #218F70
tetradic
#70218F #8F3921 #408F21 #21778F
square
#70218F #8F3921 #408F21 #21778F
split-complementary
#70218F #778F21 #218F39
monochromatic
#220A2C #49165D #70218F #972CC1 #B253D7

Accessibility & contrast

On white

9.12
#70218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#70218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70218F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70218F#FFFFFF#000000##FFFFFF
##70218F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#6D3A57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70218f;
/* rgb */ color: rgb(112, 33, 143);
/* oklch */ color: oklch(42.5% 0.176 314.3);
Tailwind
colors: {
  custom: {
    50: '#9d65b0',
    500: '#70218f',
    950: '#000000',
  },
}
SCSS
$custom: #70218f;
$custom-light: #9d65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70218f",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 283.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42511,
    "c": 0.1757,
    "h": 314.3
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#70218F
secondary
#6FBB51
accent
#E64270
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #70218F

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

Preview Lab → · Contrast checker → · Palette generator →

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