#70138E#70138E

#70138E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.188 H 315.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#70138E
RGBrgb(112, 19, 142)
HSLhsl(285, 76%, 32%)
HSVhsv(285, 87%, 56%)
CMYKcmyk(21.1%, 86.6%, 0%, 44.3%)
CIE-LABlab(29.07, 55.16, -46.53)
CIE-LCHlch(29.07, 72.16, 319.85°)
OKLaboklab(41.36% 0.134 -0.1315)
OKLCHoklch(41.36% 0.188 315.5)
XYZxyz(11.7967, 5.8640, 26.0964)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70138E #318E13
analogous
#33138E #70138E #8E136F
triadic
#70138E #8E7013 #138E70
tetradic
#70138E #8E3313 #318E13 #136F8E
square
#70138E #8E3313 #318E13 #136F8E
split-complementary
#70138E #6F8E13 #138E33
monochromatic
#1B0522 #450C58 #70138E #9B1AC4 #BA37E4

Accessibility & contrast

On white

9.67
#70138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#70138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70138E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70138E#FFFFFF#000000##FFFFFF
##70138E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#0B478C
Tritanopia (blue-blind)
#6E3353
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #70138e;
/* rgb */ color: rgb(112, 19, 142);
/* oklch */ color: oklch(41.4% 0.188 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e60b0',
    500: '#70138e',
    950: '#000000',
  },
}
SCSS
$custom: #70138e;
$custom-light: #9e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70138e",
  "rgb": {
    "r": 112,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 285.366,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.18777,
    "h": 315.5
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#70138E
secondary
#5CC23B
accent
#F33563
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #70138E

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

Preview Lab → · Contrast checker → · Palette generator →

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