#70217F#70217F

#70217F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.161 H 320.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#70217F
RGBrgb(112, 33, 127)
HSLhsl(290, 59%, 31%)
HSVhsv(290, 74%, 50%)
CMYKcmyk(11.8%, 74%, 0%, 50.2%)
CIE-LABlab(29.58, 47.63, -36.35)
CIE-LCHlch(29.58, 59.91, 322.65°)
OKLaboklab(41.38% 0.1245 -0.1017)
OKLCHoklch(41.38% 0.161 320.8)
XYZxyz(11.0563, 6.0653, 20.6629)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70217F #307F21
analogous
#41217F #70217F #7F215F
triadic
#70217F #7F7021 #217F70
tetradic
#70217F #7F4121 #307F21 #215F7F
square
#70217F #7F4121 #307F21 #215F7F
split-complementary
#70217F #5F7F21 #217F41
monochromatic
#1A081E #45144E #70217F #9B2EB0 #BB4AD0

Accessibility & contrast

On white

9.49
#70217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70217F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70217F#FFFFFF#000000##FFFFFF
##70217F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#2B487D
Tritanopia (blue-blind)
#71334E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70217f;
/* rgb */ color: rgb(112, 33, 127);
/* oklch */ color: oklch(41.4% 0.161 320.8);
Tailwind
colors: {
  custom: {
    50: '#9c65a5',
    500: '#70217f',
    950: '#000000',
  },
}
SCSS
$custom: #70217f;
$custom-light: #9c65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70217f",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 290.426,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41377,
    "c": 0.16081,
    "h": 320.8
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#70217F
secondary
#5BB24A
accent
#E2465F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70217F

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

Preview Lab → · Contrast checker → · Palette generator →

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