#70118E#70118E

#70118E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.2% C 0.189 H 315.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#70118E
RGBrgb(112, 17, 142)
HSLhsl(286, 79%, 31%)
HSVhsv(286, 88%, 56%)
CMYKcmyk(21.1%, 88%, 0%, 44.3%)
CIE-LABlab(28.90, 55.65, -46.80)
CIE-LCHlch(28.90, 72.71, 319.93°)
OKLaboklab(41.24% 0.1353 -0.1323)
OKLCHoklch(41.24% 0.189 315.6)
XYZxyz(11.7642, 5.7991, 26.0856)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70118E #2F8E11
analogous
#31118E #70118E #8E116D
triadic
#70118E #8E7011 #118E70
tetradic
#70118E #8E3111 #2F8E11 #116D8E
square
#70118E #8E3111 #2F8E11 #116D8E
split-complementary
#70118E #6D8E11 #118E31
monochromatic
#1A0421 #450A57 #70118E #9B18C5 #BB33E7

Accessibility & contrast

On white

9.72
#70118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#70118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70118E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70118E#FFFFFF#000000##FFFFFF
##70118E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#09468C
Tritanopia (blue-blind)
#6E3253
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70118e;
/* rgb */ color: rgb(112, 17, 142);
/* oklch */ color: oklch(41.2% 0.189 315.6);
Tailwind
colors: {
  custom: {
    50: '#9e5fb0',
    500: '#70118e',
    950: '#000000',
  },
}
SCSS
$custom: #70118e;
$custom-light: #9e5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#70118e",
  "rgb": {
    "r": 112,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 285.6,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.18919,
    "h": 315.6
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#70118E
secondary
#5AC238
accent
#F53361
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #70118E

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

Preview Lab → · Contrast checker → · Palette generator →

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