#70198A#70198A

#70198A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.179 H 316.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#70198A
RGBrgb(112, 25, 138)
HSLhsl(286, 69%, 32%)
HSVhsv(286, 82%, 54%)
CMYKcmyk(18.8%, 81.9%, 0%, 45.9%)
CIE-LABlab(29.35, 52.66, -43.59)
CIE-LCHlch(29.35, 68.36, 320.38°)
OKLaboklab(41.46% 0.1306 -0.1229)
OKLCHoklch(41.46% 0.179 316.7)
XYZxyz(11.6165, 5.9755, 24.5813)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70198A #338A19
analogous
#38198A #70198A #8A196C
triadic
#70198A #8A7019 #198A70
tetradic
#70198A #8A3819 #338A19 #196C8A
square
#70198A #8A3819 #338A19 #196C8A
split-complementary
#70198A #6C8A19 #198A38
monochromatic
#1C0622 #461056 #70198A #9A22BE #B941DD

Accessibility & contrast

On white

9.57
#70198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#70198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70198A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70198A#FFFFFF#000000##FFFFFF
##70198A1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#194888
Tritanopia (blue-blind)
#6E3452
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #70198a;
/* rgb */ color: rgb(112, 25, 138);
/* oklch */ color: oklch(41.5% 0.179 316.7);
Tailwind
colors: {
  custom: {
    50: '#9d62ad',
    500: '#70198a',
    950: '#000000',
  },
}
SCSS
$custom: #70198a;
$custom-light: #9d62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#70198a",
  "rgb": {
    "r": 112,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 286.195,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.17931,
    "h": 316.7
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#70198A
secondary
#5EBD42
accent
#EC3C64
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #70198A

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

Preview Lab → · Contrast checker → · Palette generator →

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