#70198E#70198E

#70198E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.183 H 315.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#70198E
RGBrgb(112, 25, 142)
HSLhsl(285, 70%, 33%)
HSVhsv(285, 82%, 56%)
CMYKcmyk(21.1%, 82.4%, 0%, 44.3%)
CIE-LABlab(29.65, 53.46, -45.59)
CIE-LCHlch(29.65, 70.26, 319.54°)
OKLaboklab(41.76% 0.1298 -0.1288)
OKLCHoklch(41.76% 0.183 315.2)
XYZxyz(11.9114, 6.0935, 26.1347)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70198E #378E19
analogous
#35198E #70198E #8E1972
triadic
#70198E #8E7019 #198E70
tetradic
#70198E #8E3519 #378E19 #19728E
square
#70198E #8E3519 #378E19 #19728E
split-complementary
#70198E #728E19 #198E35
monochromatic
#1E0726 #47105A #70198E #9922C2 #B643DE

Accessibility & contrast

On white

9.47
#70198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#70198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70198E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70198E#FFFFFF#000000##FFFFFF
##70198E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#6D3654
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70198e;
/* rgb */ color: rgb(112, 25, 142);
/* oklch */ color: oklch(41.8% 0.183 315.2);
Tailwind
colors: {
  custom: {
    50: '#9d62b0',
    500: '#70198e',
    950: '#000000',
  },
}
SCSS
$custom: #70198e;
$custom-light: #9d62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70198e",
  "rgb": {
    "r": 112,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 284.615,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.18285,
    "h": 315.2
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#70198E
secondary
#63BF44
accent
#ED3B69
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70198E

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

Preview Lab → · Contrast checker → · Palette generator →

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