#70397E#70397E

#70397E is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.4% C 0.124 H 319.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#70397E
RGBrgb(112, 57, 126)
HSLhsl(288, 38%, 36%)
HSVhsv(288, 55%, 49%)
CMYKcmyk(11.1%, 54.8%, 0%, 50.6%)
CIE-LABlab(33.73, 35.87, -29.13)
CIE-LCHlch(33.73, 46.21, 320.92°)
OKLaboklab(44.37% 0.0936 -0.0809)
OKLCHoklch(44.37% 0.124 319.2)
XYZxyz(11.9106, 7.8778, 20.6278)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70397E #477E39
analogous
#4D397E #70397E #7E3969
triadic
#70397E #7E7039 #397E70
tetradic
#70397E #7E4D39 #477E39 #39697E
square
#70397E #7E4D39 #477E39 #39697E
split-complementary
#70397E #697E39 #397E4D
monochromatic
#25132A #4B2654 #70397E #954CA8 #B072BF

Accessibility & contrast

On white

8.15
#70397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#70397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70397E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70397E#FFFFFF#000000##FFFFFF
##70397E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#704356
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #70397e;
/* rgb */ color: rgb(112, 57, 126);
/* oklch */ color: oklch(44.4% 0.124 319.2);
Tailwind
colors: {
  custom: {
    50: '#9b72a4',
    500: '#70397e',
    950: '#000000',
  },
}
SCSS
$custom: #70397e;
$custom-light: #9b72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#70397e",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 287.826,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.1237,
    "h": 319.2
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#70397E
secondary
#77A86A
accent
#CE5A72
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E080F
muted
#7E7B7F

Preview Lab

Preview with #70397E

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

Preview Lab → · Contrast checker → · Palette generator →

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