#70218E#70218E

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

Color values

HEX#70218E
RGBrgb(112, 33, 142)
HSLhsl(283, 62%, 34%)
HSVhsv(283, 77%, 56%)
CMYKcmyk(21.1%, 76.8%, 0%, 44.3%)
CIE-LABlab(30.61, 50.69, -44.04)
CIE-LCHlch(30.61, 67.15, 319.01°)
OKLaboklab(42.44% 0.1229 -0.1243)
OKLCHoklch(42.44% 0.175 314.7)
XYZxyz(12.1076, 6.4859, 26.2001)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70218E #3F8E21
analogous
#39218E #70218E #8E2176
triadic
#70218E #8E7021 #218E70
tetradic
#70218E #8E3921 #3F8E21 #21768E
square
#70218E #8E3921 #3F8E21 #21768E
split-complementary
#70218E #768E21 #218E39
monochromatic
#220A2B #49155C #70218E #972DC0 #B252D7

Accessibility & contrast

On white

9.14
#70218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70218E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70218E#FFFFFF#000000##FFFFFF
##70218E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#6D3956
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70218e;
/* rgb */ color: rgb(112, 33, 142);
/* oklch */ color: oklch(42.4% 0.175 314.7);
Tailwind
colors: {
  custom: {
    50: '#9d65b0',
    500: '#70218e',
    950: '#000000',
  },
}
SCSS
$custom: #70218e;
$custom-light: #9d65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70218e",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 283.486,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.17476,
    "h": 314.7
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#70218E
secondary
#6EBA50
accent
#E5426F
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70218E

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

Preview Lab → · Contrast checker → · Palette generator →

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