#731571#731571

#731571 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.163 H 329.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#731571
RGBrgb(115, 21, 113)
HSLhsl(301, 69%, 27%)
HSVhsv(301, 82%, 45%)
CMYKcmyk(0%, 81.7%, 1.7%, 54.9%)
CIE-LABlab(27.78, 49.84, -30.31)
CIE-LCHlch(27.78, 58.33, 328.69°)
OKLaboklab(39.91% 0.1402 -0.084)
OKLCHoklch(39.91% 0.163 329.1)
XYZxyz(10.3189, 5.3742, 16.1134)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731571 #157317
analogous
#461573 #731571 #731542
triadic
#731571 #717315 #157173
tetradic
#731571 #734615 #157317 #154273
square
#731571 #734615 #157317 #154273
split-complementary
#731571 #427315 #157346
monochromatic
#1A0519 #3F0C3E #731571 #A71EA4 #D82AD4

Accessibility & contrast

On white

10.12
#731571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#731571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731571
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731571#FFFFFF#000000##FFFFFF
##7315711.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A73
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#772443
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731571;
/* rgb */ color: rgb(115, 21, 113);
/* oklch */ color: oklch(39.9% 0.163 329.1);
Tailwind
colors: {
  custom: {
    50: '#9f609a',
    500: '#731571',
    950: '#000000',
  },
}
SCSS
$custom: #731571;
$custom-light: #9f609a;
$custom-dark: #000000;
JSON
{
  "hex": "#731571",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 301.277,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3991,
    "c": 0.16338,
    "h": 329.1
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#731571
secondary
#3BA93D
accent
#EC403C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731571

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

Preview Lab → · Contrast checker → · Palette generator →

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