#70218B#70218B

#70218B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.172 H 315.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#70218B
RGBrgb(112, 33, 139)
HSLhsl(285, 62%, 34%)
HSVhsv(285, 76%, 55%)
CMYKcmyk(19.4%, 76.3%, 0%, 45.5%)
CIE-LABlab(30.39, 50.06, -42.53)
CIE-LCHlch(30.39, 65.69, 319.65°)
OKLaboklab(42.22% 0.1233 -0.1198)
OKLCHoklch(42.22% 0.172 315.8)
XYZxyz(11.8854, 6.3970, 25.0298)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70218B #3C8B21
analogous
#3B218B #70218B #8B2171
triadic
#70218B #8B7021 #218B70
tetradic
#70218B #8B3B21 #3C8B21 #21718B
square
#70218B #8B3B21 #3C8B21 #21718B
split-complementary
#70218B #718B21 #218B3B
monochromatic
#200A28 #48155A #70218B #982DBC #B451D6

Accessibility & contrast

On white

9.21
#70218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#70218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70218B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70218B#FFFFFF#000000##FFFFFF
##70218B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#6E3854
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #70218b;
/* rgb */ color: rgb(112, 33, 139);
/* oklch */ color: oklch(42.2% 0.172 315.8);
Tailwind
colors: {
  custom: {
    50: '#9d65ad',
    500: '#70218b',
    950: '#000000',
  },
}
SCSS
$custom: #70218b;
$custom-light: #9d65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70218b",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 284.717,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.17194,
    "h": 315.8
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#70218B
secondary
#6AB94F
accent
#E5436C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70218B

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

Preview Lab → · Contrast checker → · Palette generator →

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