#70218C#70218C

#70218C is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.173 H 315.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#70218C
RGBrgb(112, 33, 140)
HSLhsl(284, 62%, 34%)
HSVhsv(284, 76%, 55%)
CMYKcmyk(20%, 76.4%, 0%, 45.1%)
CIE-LABlab(30.46, 50.27, -43.03)
CIE-LCHlch(30.46, 66.17, 319.43°)
OKLaboklab(42.29% 0.1232 -0.1213)
OKLCHoklch(42.29% 0.173 315.4)
XYZxyz(11.9588, 6.4264, 25.4163)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70218C #3D8C21
analogous
#3B218C #70218C #8C2173
triadic
#70218C #8C7021 #218C70
tetradic
#70218C #8C3B21 #3D8C21 #21738C
square
#70218C #8C3B21 #3D8C21 #21738C
split-complementary
#70218C #738C21 #218C3B
monochromatic
#210A29 #48155A #70218C #982DBE #B351D6

Accessibility & contrast

On white

9.19
#70218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70218C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70218C#FFFFFF#000000##FFFFFF
##70218C1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#6E3855
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70218c;
/* rgb */ color: rgb(112, 33, 140);
/* oklch */ color: oklch(42.3% 0.173 315.4);
Tailwind
colors: {
  custom: {
    50: '#9d65ae',
    500: '#70218c',
    950: '#000000',
  },
}
SCSS
$custom: #70218c;
$custom-light: #9d65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#70218c",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 284.299,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.17288,
    "h": 315.4
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#70218C
secondary
#6BB94F
accent
#E5436D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70218C

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

Preview Lab → · Contrast checker → · Palette generator →

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