#70319F#70319F

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

Color values

HEX#70319F
RGBrgb(112, 49, 159)
HSLhsl(274, 53%, 41%)
HSVhsv(274, 69%, 62%)
CMYKcmyk(29.6%, 69.2%, 0%, 37.6%)
CIE-LABlab(34.28, 47.56, -48.49)
CIE-LCHlch(34.28, 67.92, 314.44°)
OKLaboklab(45.44% 0.1038 -0.1375)
OKLCHoklch(45.44% 0.172 307.1)
XYZxyz(14.0371, 8.1447, 33.6268)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70319F #609F31
analogous
#39319F #70319F #9F3197
triadic
#70319F #9F7031 #319F70
tetradic
#70319F #9F3931 #609F31 #31979F
square
#70319F #9F3931 #609F31 #31979F
split-complementary
#70319F #979F31 #319F39
monochromatic
#2E1441 #4F2370 #70319F #9047C6 #AC76D5

Accessibility & contrast

On white

7.99
#70319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#70319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70319F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70319F#FFFFFF#000000##FFFFFF
##70319F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#14519D
Tritanopia (blue-blind)
#684964
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70319f;
/* rgb */ color: rgb(112, 49, 159);
/* oklch */ color: oklch(45.4% 0.172 307.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ebc',
    500: '#70319f',
    950: '#000000',
  },
}
SCSS
$custom: #70319f;
$custom-light: #9d6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#70319f",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 274.364,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.17224,
    "h": 307.1
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#70319F
secondary
#90BD6F
accent
#DC4C89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #70319F

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

Preview Lab → · Contrast checker → · Palette generator →

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