#70207F#70207F

#70207F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.162 H 320.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#70207F
RGBrgb(112, 32, 127)
HSLhsl(291, 60%, 31%)
HSVhsv(291, 75%, 50%)
CMYKcmyk(11.8%, 74.8%, 0%, 50.2%)
CIE-LABlab(29.44, 48.02, -36.57)
CIE-LCHlch(29.44, 60.36, 322.71°)
OKLaboklab(41.28% 0.1256 -0.1024)
OKLCHoklch(41.28% 0.162 320.8)
XYZxyz(11.0289, 6.0107, 20.6538)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70207F #2F7F20
analogous
#40207F #70207F #7F205E
triadic
#70207F #7F7020 #207F70
tetradic
#70207F #7F4020 #2F7F20 #205E7F
square
#70207F #7F4020 #2F7F20 #205E7F
split-complementary
#70207F #5E7F20 #207F40
monochromatic
#1A071D #45144E #70207F #9B2CB0 #BB48D1

Accessibility & contrast

On white

9.54
#70207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#70207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70207F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70207F#FFFFFF#000000##FFFFFF
##70207F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#71324E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70207f;
/* rgb */ color: rgb(112, 32, 127);
/* oklch */ color: oklch(41.3% 0.162 320.8);
Tailwind
colors: {
  custom: {
    50: '#9c64a5',
    500: '#70207f',
    950: '#000000',
  },
}
SCSS
$custom: #70207f;
$custom-light: #9c64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70207f",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 290.526,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.16202,
    "h": 320.8
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#70207F
secondary
#5AB249
accent
#E3455E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #70207F

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

Preview Lab → · Contrast checker → · Palette generator →

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