#70217A#70217A

#70217A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.156 H 323.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#70217A
RGBrgb(112, 33, 122)
HSLhsl(293, 57%, 30%)
HSVhsv(293, 73%, 48%)
CMYKcmyk(8.2%, 73%, 0%, 52.2%)
CIE-LABlab(29.26, 46.65, -33.71)
CIE-LCHlch(29.26, 57.55, 324.14°)
OKLaboklab(41.05% 0.1248 -0.094)
OKLCHoklch(41.05% 0.156 323)
XYZxyz(10.7385, 5.9382, 18.9892)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70217A #2B7A21
analogous
#43217A #70217A #7A2158
triadic
#70217A #7A7021 #217A70
tetradic
#70217A #7A4321 #2B7A21 #21587A
square
#70217A #7A4321 #2B7A21 #21587A
split-complementary
#70217A #587A21 #217A43
monochromatic
#18071A #44144A #70217A #9C2EAA #BE48CD

Accessibility & contrast

On white

9.60
#70217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#70217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70217A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70217A#FFFFFF#000000##FFFFFF
##70217A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7D
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#72314B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70217a;
/* rgb */ color: rgb(112, 33, 122);
/* oklch */ color: oklch(41.0% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#9c64a1',
    500: '#70217a',
    950: '#000000',
  },
}
SCSS
$custom: #70217a;
$custom-light: #9c64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#70217a",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 293.258,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.15625,
    "h": 323
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#70217A
secondary
#55AD4A
accent
#E14758
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #70217A

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

Preview Lab → · Contrast checker → · Palette generator →

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