#70319E#70319E

#70319E is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.171 H 307.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#70319E
RGBrgb(112, 49, 158)
HSLhsl(275, 53%, 41%)
HSVhsv(275, 69%, 62%)
CMYKcmyk(29.1%, 69%, 0%, 38%)
CIE-LABlab(34.21, 47.32, -48.00)
CIE-LCHlch(34.21, 67.41, 314.59°)
OKLaboklab(45.37% 0.1039 -0.136)
OKLCHoklch(45.37% 0.171 307.4)
XYZxyz(13.9507, 8.1102, 33.1716)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70319E #5F9E31
analogous
#39319E #70319E #9E3195
triadic
#70319E #9E7031 #319E70
tetradic
#70319E #9E3931 #5F9E31 #31959E
square
#70319E #9E3931 #5F9E31 #31959E
split-complementary
#70319E #959E31 #319E39
monochromatic
#2E1441 #4F236F #70319E #9046C6 #AC75D4

Accessibility & contrast

On white

8.01
#70319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#70319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70319E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70319E#FFFFFF#000000##FFFFFF
##70319E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#694963
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #70319e;
/* rgb */ color: rgb(112, 49, 158);
/* oklch */ color: oklch(45.4% 0.171 307.4);
Tailwind
colors: {
  custom: {
    50: '#9d6ebb',
    500: '#70319e',
    950: '#000000',
  },
}
SCSS
$custom: #70319e;
$custom-light: #9d6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#70319e",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 274.679,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.17116,
    "h": 307.4
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#70319E
secondary
#8FBC6E
accent
#DC4C89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #70319E

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

Preview Lab → · Contrast checker → · Palette generator →

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