#70397D#70397D

#70397D is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.3% C 0.123 H 319.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#70397D
RGBrgb(112, 57, 125)
HSLhsl(289, 37%, 36%)
HSVhsv(289, 54%, 49%)
CMYKcmyk(10.4%, 54.4%, 0%, 51%)
CIE-LABlab(33.67, 35.65, -28.59)
CIE-LCHlch(33.67, 45.70, 321.27°)
OKLaboklab(44.31% 0.0935 -0.0793)
OKLCHoklch(44.31% 0.123 319.7)
XYZxyz(11.8464, 7.8521, 20.2897)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70397D #467D39
analogous
#4E397D #70397D #7D3968
triadic
#70397D #7D7039 #397D70
tetradic
#70397D #7D4E39 #467D39 #39687D
square
#70397D #7D4E39 #467D39 #39687D
split-complementary
#70397D #687D39 #397D4E
monochromatic
#251329 #4A2653 #70397D #964CA7 #B072BF

Accessibility & contrast

On white

8.17
#70397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#70397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70397D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70397D#FFFFFF#000000##FFFFFF
##70397D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7F
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#714355
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #70397d;
/* rgb */ color: rgb(112, 57, 125);
/* oklch */ color: oklch(44.3% 0.123 319.7);
Tailwind
colors: {
  custom: {
    50: '#9b72a3',
    500: '#70397d',
    950: '#000000',
  },
}
SCSS
$custom: #70397d;
$custom-light: #9b72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#70397d",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 288.529,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.1226,
    "h": 319.7
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#70397D
secondary
#76A86A
accent
#CD5A70
background
#F9F7FA
surface
#F2EDF3
border
#CCC8CD
text
#0E080F
muted
#7E7B7F

Preview Lab

Preview with #70397D

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

Preview Lab → · Contrast checker → · Palette generator →

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