#70197D#70197D

#70197D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.168 H 322.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#70197D
RGBrgb(112, 25, 125)
HSLhsl(292, 67%, 29%)
HSVhsv(292, 80%, 49%)
CMYKcmyk(10.4%, 80%, 0%, 51%)
CIE-LABlab(28.44, 50.12, -36.92)
CIE-LCHlch(28.44, 62.25, 323.63°)
OKLaboklab(40.52% 0.1324 -0.1033)
OKLCHoklch(40.52% 0.168 322)
XYZxyz(10.7310, 5.6213, 19.9179)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70197D #267D19
analogous
#3E197D #70197D #7D1958
triadic
#70197D #7D7019 #197D70
tetradic
#70197D #7D3E19 #267D19 #19587D
square
#70197D #7D3E19 #267D19 #19587D
split-complementary
#70197D #587D19 #197D3E
monochromatic
#17051A #420F4A #70197D #9E23B0 #C339D7

Accessibility & contrast

On white

9.89
#70197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#70197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70197D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70197D#FFFFFF#000000##FFFFFF
##70197D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#712D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70197d;
/* rgb */ color: rgb(112, 25, 125);
/* oklch */ color: oklch(40.5% 0.168 322.0);
Tailwind
colors: {
  custom: {
    50: '#9d61a3',
    500: '#70197d',
    950: '#000000',
  },
}
SCSS
$custom: #70197d;
$custom-light: #9d61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70197d",
  "rgb": {
    "r": 112,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 292.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.16799,
    "h": 322
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#70197D
secondary
#4FB140
accent
#EA3E54
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70197D

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

Preview Lab → · Contrast checker → · Palette generator →

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