#70197F#70197F

#70197F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.170 H 321.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#70197F
RGBrgb(112, 25, 127)
HSLhsl(291, 67%, 30%)
HSVhsv(291, 80%, 50%)
CMYKcmyk(11.8%, 80.3%, 0%, 50.2%)
CIE-LABlab(28.57, 50.51, -37.96)
CIE-LCHlch(28.57, 63.18, 323.07°)
OKLaboklab(40.66% 0.1322 -0.1064)
OKLCHoklch(40.66% 0.17 321.2)
XYZxyz(10.8601, 5.6729, 20.5975)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70197F #287F19
analogous
#3D197F #70197F #7F195B
triadic
#70197F #7F7019 #197F70
tetradic
#70197F #7F3D19 #287F19 #195B7F
square
#70197F #7F3D19 #287F19 #195B7F
split-complementary
#70197F #5B7F19 #197F3D
monochromatic
#17051A #430F4C #70197F #9D23B2 #C13AD8

Accessibility & contrast

On white

9.84
#70197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#70197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70197F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70197F#FFFFFF#000000##FFFFFF
##70197F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#712E4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #70197f;
/* rgb */ color: rgb(112, 25, 127);
/* oklch */ color: oklch(40.7% 0.170 321.2);
Tailwind
colors: {
  custom: {
    50: '#9d61a5',
    500: '#70197f',
    950: '#000000',
  },
}
SCSS
$custom: #70197f;
$custom-light: #9d61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#70197f",
  "rgb": {
    "r": 112,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 291.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.16971,
    "h": 321.2
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#70197F
secondary
#51B341
accent
#EA3E57
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #70197F

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

Preview Lab → · Contrast checker → · Palette generator →

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