#70217D#70217D

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

Color values

HEX#70217D
RGBrgb(112, 33, 125)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 74%, 49%)
CMYKcmyk(10.4%, 73.6%, 0%, 51%)
CIE-LABlab(29.45, 47.23, -35.30)
CIE-LCHlch(29.45, 58.97, 323.23°)
OKLaboklab(41.24% 0.1247 -0.0987)
OKLCHoklch(41.24% 0.159 321.6)
XYZxyz(10.9272, 6.0137, 19.9833)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70217D #2E7D21
analogous
#42217D #70217D #7D215C
triadic
#70217D #7D7021 #217D70
tetradic
#70217D #7D4221 #2E7D21 #215C7D
square
#70217D #7D4221 #2E7D21 #215C7D
split-complementary
#70217D #5C7D21 #217D42
monochromatic
#19071C #45144D #70217D #9B2EAD #BC49CF

Accessibility & contrast

On white

9.53
#70217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70217D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70217D#FFFFFF#000000##FFFFFF
##70217D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#2D487B
Tritanopia (blue-blind)
#71324D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70217d;
/* rgb */ color: rgb(112, 33, 125);
/* oklch */ color: oklch(41.2% 0.159 321.6);
Tailwind
colors: {
  custom: {
    50: '#9c64a3',
    500: '#70217d',
    950: '#000000',
  },
}
SCSS
$custom: #70217d;
$custom-light: #9c64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70217d",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 291.522,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.15898,
    "h": 321.6
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#70217D
secondary
#58B04A
accent
#E1465C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70217D

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

Preview Lab → · Contrast checker → · Palette generator →

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