#70217C#70217C

#70217C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.158 H 322.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#70217C
RGBrgb(112, 33, 124)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 73%, 49%)
CMYKcmyk(9.7%, 73.4%, 0%, 51.4%)
CIE-LABlab(29.38, 47.04, -34.77)
CIE-LCHlch(29.38, 58.49, 323.52°)
OKLaboklab(41.18% 0.1247 -0.0971)
OKLCHoklch(41.18% 0.158 322.1)
XYZxyz(10.8637, 5.9883, 19.6485)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70217C #2D7C21
analogous
#42217C #70217C #7C215A
triadic
#70217C #7C7021 #217C70
tetradic
#70217C #7C4221 #2D7C21 #215A7C
square
#70217C #7C4221 #2D7C21 #215A7C
split-complementary
#70217C #5A7C21 #217C42
monochromatic
#19071B #44144C #70217C #9C2EAC #BD49CF

Accessibility & contrast

On white

9.56
#70217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#70217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70217C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70217C#FFFFFF#000000##FFFFFF
##70217C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#71314C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70217c;
/* rgb */ color: rgb(112, 33, 124);
/* oklch */ color: oklch(41.2% 0.158 322.1);
Tailwind
colors: {
  custom: {
    50: '#9c64a2',
    500: '#70217c',
    950: '#000000',
  },
}
SCSS
$custom: #70217c;
$custom-light: #9c64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70217c",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 292.088,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.15806,
    "h": 322.1
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#70217C
secondary
#57AF4A
accent
#E1475B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70217C

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

Preview Lab → · Contrast checker → · Palette generator →

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