#70217E#70217E

#70217E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.160 H 321.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#70217E
RGBrgb(112, 33, 126)
HSLhsl(291, 58%, 31%)
HSVhsv(291, 74%, 49%)
CMYKcmyk(11.1%, 73.8%, 0%, 50.6%)
CIE-LABlab(29.51, 47.43, -35.83)
CIE-LCHlch(29.51, 59.44, 322.93°)
OKLaboklab(41.31% 0.1246 -0.1002)
OKLCHoklch(41.31% 0.16 321.2)
XYZxyz(10.9914, 6.0394, 20.3214)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70217E #2F7E21
analogous
#41217E #70217E #7E215D
triadic
#70217E #7E7021 #217E70
tetradic
#70217E #7E4121 #2F7E21 #215D7E
square
#70217E #7E4121 #2F7E21 #215D7E
split-complementary
#70217E #5D7E21 #217E41
monochromatic
#1A081D #45144E #70217E #9B2EAE #BB4AD0

Accessibility & contrast

On white

9.51
#70217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#70217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70217E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70217E#FFFFFF#000000##FFFFFF
##70217E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#71324D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70217e;
/* rgb */ color: rgb(112, 33, 126);
/* oklch */ color: oklch(41.3% 0.160 321.2);
Tailwind
colors: {
  custom: {
    50: '#9c65a4',
    500: '#70217e',
    950: '#000000',
  },
}
SCSS
$custom: #70217e;
$custom-light: #9c65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70217e",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 290.968,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.1599,
    "h": 321.2
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#70217E
secondary
#5AB14A
accent
#E2465E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70217E

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

Preview Lab → · Contrast checker → · Palette generator →

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