#70319B#70319B

#70319B is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.168 H 308.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#70319B
RGBrgb(112, 49, 155)
HSLhsl(276, 52%, 40%)
HSVhsv(276, 68%, 61%)
CMYKcmyk(27.7%, 68.4%, 0%, 39.2%)
CIE-LABlab(34.00, 46.61, -46.53)
CIE-LCHlch(34.00, 65.86, 315.05°)
OKLaboklab(45.15% 0.1042 -0.1317)
OKLCHoklch(45.15% 0.168 308.4)
XYZxyz(13.6956, 8.0081, 31.8282)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70319B #5C9B31
analogous
#3B319B #70319B #9B3191
triadic
#70319B #9B7031 #319B70
tetradic
#70319B #9B3B31 #5C9B31 #31919B
square
#70319B #9B3B31 #5C9B31 #31919B
split-complementary
#70319B #919B31 #319B3B
monochromatic
#2D143E #4E226D #70319B #9145C4 #AC73D3

Accessibility & contrast

On white

8.07
#70319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#70319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70319B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70319B#FFFFFF#000000##FFFFFF
##70319B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#1B5199
Tritanopia (blue-blind)
#694862
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #70319b;
/* rgb */ color: rgb(112, 49, 155);
/* oklch */ color: oklch(45.1% 0.168 308.4);
Tailwind
colors: {
  custom: {
    50: '#9d6eb9',
    500: '#70319b',
    950: '#000000',
  },
}
SCSS
$custom: #70319b;
$custom-light: #9d6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#70319b",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 275.66,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.16793,
    "h": 308.4
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#70319B
secondary
#8DBB6D
accent
#DB4C86
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #70319B

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

Preview Lab → · Contrast checker → · Palette generator →

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