#731771#731771

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

Color values

HEX#731771
RGBrgb(115, 23, 113)
HSLhsl(301, 67%, 27%)
HSVhsv(301, 80%, 45%)
CMYKcmyk(0%, 80%, 1.7%, 54.9%)
CIE-LABlab(27.98, 49.24, -29.99)
CIE-LCHlch(27.98, 57.65, 328.66°)
OKLaboklab(40.06% 0.1385 -0.083)
OKLCHoklch(40.06% 0.161 329.1)
XYZxyz(10.3572, 5.4507, 16.1262)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731771 #177319
analogous
#471773 #731771 #731743
triadic
#731771 #717317 #177173
tetradic
#731771 #734717 #177319 #174373
square
#731771 #734717 #177319 #174373
split-complementary
#731771 #437317 #177347
monochromatic
#1A0519 #400D3F #731771 #A621A3 #D52FD2

Accessibility & contrast

On white

10.05
#731771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#731771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731771
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731771#FFFFFF#000000##FFFFFF
##7317711.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#33466F
Tritanopia (blue-blind)
#772543
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731771;
/* rgb */ color: rgb(115, 23, 113);
/* oklch */ color: oklch(40.1% 0.161 329.1);
Tailwind
colors: {
  custom: {
    50: '#9f609a',
    500: '#731771',
    950: '#000000',
  },
}
SCSS
$custom: #731771;
$custom-light: #9f609a;
$custom-dark: #000000;
JSON
{
  "hex": "#731771",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 301.304,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.16144,
    "h": 329.1
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#731771
secondary
#3DA940
accent
#EA423E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731771

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

Preview Lab → · Contrast checker → · Palette generator →

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