#70198F#70198F

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

Color values

HEX#70198F
RGBrgb(112, 25, 143)
HSLhsl(284, 70%, 33%)
HSVhsv(284, 83%, 56%)
CMYKcmyk(21.7%, 82.5%, 0%, 43.9%)
CIE-LABlab(29.72, 53.66, -46.09)
CIE-LCHlch(29.72, 70.74, 319.34°)
OKLaboklab(41.84% 0.1296 -0.1302)
OKLCHoklch(41.84% 0.184 314.9)
XYZxyz(11.9868, 6.1236, 26.5318)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70198F #388F19
analogous
#35198F #70198F #8F1973
triadic
#70198F #8F7019 #198F70
tetradic
#70198F #8F3519 #388F19 #19738F
square
#70198F #8F3519 #388F19 #19738F
split-complementary
#70198F #738F19 #198F35
monochromatic
#1E0727 #47105B #70198F #9922C3 #B644DE

Accessibility & contrast

On white

9.44
#70198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70198F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70198F#FFFFFF#000000##FFFFFF
##70198F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#10488D
Tritanopia (blue-blind)
#6D3655
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #70198f;
/* rgb */ color: rgb(112, 25, 143);
/* oklch */ color: oklch(41.8% 0.184 314.9);
Tailwind
colors: {
  custom: {
    50: '#9d62b0',
    500: '#70198f',
    950: '#000000',
  },
}
SCSS
$custom: #70198f;
$custom-light: #9d62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#70198f",
  "rgb": {
    "r": 112,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 284.237,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.18373,
    "h": 314.9
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#70198F
secondary
#65BF44
accent
#ED3B6A
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #70198F

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

Preview Lab → · Contrast checker → · Palette generator →

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