#70198D#70198D

#70198D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.182 H 315.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#70198D
RGBrgb(112, 25, 141)
HSLhsl(285, 70%, 33%)
HSVhsv(285, 82%, 55%)
CMYKcmyk(20.6%, 82.3%, 0%, 44.7%)
CIE-LABlab(29.57, 53.26, -45.09)
CIE-LCHlch(29.57, 69.78, 319.75°)
OKLaboklab(41.69% 0.13 -0.1273)
OKLCHoklch(41.69% 0.182 315.6)
XYZxyz(11.8367, 6.0636, 25.7410)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70198D #368D19
analogous
#36198D #70198D #8D1970
triadic
#70198D #8D7019 #198D70
tetradic
#70198D #8D3619 #368D19 #19708D
square
#70198D #8D3619 #368D19 #19708D
split-complementary
#70198D #708D19 #198D36
monochromatic
#1D0725 #471059 #70198D #9922C1 #B743DE

Accessibility & contrast

On white

9.49
#70198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#70198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70198D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70198D#FFFFFF#000000##FFFFFF
##70198D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#6E3554
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70198d;
/* rgb */ color: rgb(112, 25, 141);
/* oklch */ color: oklch(41.7% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#9d62af',
    500: '#70198d',
    950: '#000000',
  },
}
SCSS
$custom: #70198d;
$custom-light: #9d62af;
$custom-dark: #000000;
JSON
{
  "hex": "#70198d",
  "rgb": {
    "r": 112,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 285,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.18196,
    "h": 315.6
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#70198D
secondary
#62BF43
accent
#ED3B68
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70198D

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

Preview Lab → · Contrast checker → · Palette generator →

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