#70217B#70217B

#70217B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.157 H 322.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#70217B
RGBrgb(112, 33, 123)
HSLhsl(293, 58%, 31%)
HSVhsv(293, 73%, 48%)
CMYKcmyk(8.9%, 73.2%, 0%, 51.8%)
CIE-LABlab(29.32, 46.84, -34.24)
CIE-LCHlch(29.32, 58.02, 323.83°)
OKLaboklab(41.11% 0.1248 -0.0956)
OKLCHoklch(41.11% 0.157 322.5)
XYZxyz(10.8007, 5.9631, 19.3171)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70217B #2C7B21
analogous
#43217B #70217B #7B2159
triadic
#70217B #7B7021 #217B70
tetradic
#70217B #7B4321 #2C7B21 #21597B
square
#70217B #7B4321 #2C7B21 #21597B
split-complementary
#70217B #597B21 #217B43
monochromatic
#18071A #44144B #70217B #9C2EAB #BE48CE

Accessibility & contrast

On white

9.58
#70217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70217B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70217B#FFFFFF#000000##FFFFFF
##70217B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#72314C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70217b;
/* rgb */ color: rgb(112, 33, 123);
/* oklch */ color: oklch(41.1% 0.157 322.5);
Tailwind
colors: {
  custom: {
    50: '#9c64a2',
    500: '#70217b',
    950: '#000000',
  },
}
SCSS
$custom: #70217b;
$custom-light: #9c64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#70217b",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 292.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.15716,
    "h": 322.5
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#70217B
secondary
#56AE4A
accent
#E1475A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70217B

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

Preview Lab → · Contrast checker → · Palette generator →

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