#703271#703271

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

Color values

HEX#703271
RGBrgb(112, 50, 113)
HSLhsl(299, 39%, 32%)
HSVhsv(299, 56%, 44%)
CMYKcmyk(0.9%, 55.8%, 0%, 55.7%)
CIE-LABlab(31.62, 36.94, -24.28)
CIE-LCHlch(31.62, 44.20, 326.68°)
OKLaboklab(42.6% 0.1023 -0.0668)
OKLCHoklch(42.6% 0.122 326.9)
XYZxyz(10.8031, 6.9188, 16.3860)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703271 #337132
analogous
#513271 #703271 #713253
triadic
#703271 #717032 #327170
tetradic
#703271 #715132 #337132 #325371
square
#703271 #715132 #337132 #325371
split-complementary
#703271 #537132 #327151
monochromatic
#1C0C1C #461F47 #703271 #9A459B #B963BA

Accessibility & contrast

On white

8.81
#703271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #703271
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703271#FFFFFF#000000##FFFFFF
##7032711.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#73394C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #703271;
/* rgb */ color: rgb(112, 50, 113);
/* oklch */ color: oklch(42.6% 0.122 326.9);
Tailwind
colors: {
  custom: {
    50: '#9b6d9a',
    500: '#703271',
    950: '#000000',
  },
}
SCSS
$custom: #703271;
$custom-light: #9b6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#703271",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 299.048,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.12218,
    "h": 326.9
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#703271
secondary
#5EA25D
accent
#CF595B
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #703271

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

Preview Lab → · Contrast checker → · Palette generator →

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