#70127E#70127E

#70127E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.175 H 321.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#70127E
RGBrgb(112, 18, 126)
HSLhsl(292, 75%, 28%)
HSVhsv(292, 86%, 49%)
CMYKcmyk(11.1%, 85.7%, 0%, 50.6%)
CIE-LABlab(27.80, 52.35, -38.57)
CIE-LCHlch(27.80, 65.02, 323.62°)
OKLaboklab(40.1% 0.1378 -0.1081)
OKLCHoklch(40.1% 0.175 321.9)
XYZxyz(10.6639, 5.3843, 20.2122)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70127E #207E12
analogous
#3A127E #70127E #7E1256
triadic
#70127E #7E7012 #127E70
tetradic
#70127E #7E3A12 #207E12 #12567E
square
#70127E #7E3A12 #207E12 #12567E
split-complementary
#70127E #567E12 #127E3A
monochromatic
#18041B #400A48 #70127E #A01AB4 #C92AE1

Accessibility & contrast

On white

10.11
#70127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#70127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70127E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70127E#FFFFFF#000000##FFFFFF
##70127E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#712B4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #70127e;
/* rgb */ color: rgb(112, 18, 126);
/* oklch */ color: oklch(40.1% 0.175 321.9);
Tailwind
colors: {
  custom: {
    50: '#9d5fa4',
    500: '#70127e',
    950: '#000000',
  },
}
SCSS
$custom: #70127e;
$custom-light: #9d5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#70127e",
  "rgb": {
    "r": 112,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 292.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.17515,
    "h": 321.9
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#70127E
secondary
#48B438
accent
#F2364E
background
#FAF5FA
surface
#F3EAF4
border
#CDC6CE
text
#0F050F
muted
#7F797F

Preview Lab

Preview with #70127E

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

Preview Lab → · Contrast checker → · Palette generator →

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