#70317D#70317D

#70317D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.136 H 320.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#70317D
RGBrgb(112, 49, 125)
HSLhsl(290, 44%, 34%)
HSVhsv(290, 61%, 49%)
CMYKcmyk(10.4%, 60.8%, 0%, 51%)
CIE-LABlab(32.08, 39.91, -31.10)
CIE-LCHlch(32.08, 50.60, 322.07°)
OKLaboklab(43.15% 0.1049 -0.0865)
OKLCHoklch(43.15% 0.136 320.5)
XYZxyz(11.4816, 7.1226, 20.1681)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70317D #3E7D31
analogous
#4A317D #70317D #7D3164
triadic
#70317D #7D7031 #317D70
tetradic
#70317D #7D4A31 #3E7D31 #31647D
square
#70317D #7D4A31 #3E7D31 #31647D
split-complementary
#70317D #647D31 #317D4A
monochromatic
#210F25 #492051 #70317D #9742A9 #B366C3

Accessibility & contrast

On white

8.66
#70317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#70317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70317D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70317D#FFFFFF#000000##FFFFFF
##70317D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#713D52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #70317d;
/* rgb */ color: rgb(112, 49, 125);
/* oklch */ color: oklch(43.1% 0.136 320.5);
Tailwind
colors: {
  custom: {
    50: '#9b6da3',
    500: '#70317d',
    950: '#000000',
  },
}
SCSS
$custom: #70317d;
$custom-light: #9b6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#70317d",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 289.737,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.13603,
    "h": 320.5
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#70317D
secondary
#6CAA60
accent
#D3546A
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #70317D

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

Preview Lab → · Contrast checker → · Palette generator →

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