#703173#703173

#703173 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.6% C 0.126 H 325.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#703173
RGBrgb(112, 49, 115)
HSLhsl(297, 40%, 32%)
HSVhsv(297, 57%, 45%)
CMYKcmyk(2.6%, 57.4%, 0%, 54.9%)
CIE-LABlab(31.53, 37.86, -25.68)
CIE-LCHlch(31.53, 45.75, 325.85°)
OKLaboklab(42.56% 0.104 -0.0708)
OKLCHoklch(42.56% 0.126 325.7)
XYZxyz(10.8747, 6.8798, 16.9715)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703173 #347331
analogous
#4F3173 #703173 #733155
triadic
#703173 #737031 #317370
tetradic
#703173 #734F31 #347331 #315573
square
#703173 #734F31 #347331 #315573
split-complementary
#703173 #557331 #31734F
monochromatic
#1C0C1D #461F48 #703173 #9A439E #B862BC

Accessibility & contrast

On white

8.84
#703173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#703173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703173
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703173#FFFFFF#000000##FFFFFF
##7031731.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#73394D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #703173;
/* rgb */ color: rgb(112, 49, 115);
/* oklch */ color: oklch(42.6% 0.126 325.7);
Tailwind
colors: {
  custom: {
    50: '#9b6d9b',
    500: '#703173',
    950: '#000000',
  },
}
SCSS
$custom: #703173;
$custom-light: #9b6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#703173",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 297.273,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.12586,
    "h": 325.7
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#703173
secondary
#5FA45C
accent
#D0585D
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #703173

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

Preview Lab → · Contrast checker → · Palette generator →

#703173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva