#731871#731871

#731871 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.160 H 329.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#731871
RGBrgb(115, 24, 113)
HSLhsl(301, 65%, 27%)
HSVhsv(301, 79%, 45%)
CMYKcmyk(0%, 79.1%, 1.7%, 54.9%)
CIE-LABlab(28.09, 48.93, -29.81)
CIE-LCHlch(28.09, 57.30, 328.65°)
OKLaboklab(40.14% 0.1376 -0.0825)
OKLCHoklch(40.14% 0.16 329)
XYZxyz(10.3774, 5.4912, 16.1329)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731871 #18731A
analogous
#481873 #731871 #731843
triadic
#731871 #717318 #187173
tetradic
#731871 #734818 #18731A #184373
square
#731871 #734818 #18731A #184373
split-complementary
#731871 #437318 #187348
monochromatic
#190519 #400D3F #731871 #A623A3 #D431D0

Accessibility & contrast

On white

10.01
#731871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#731871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731871
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731871#FFFFFF#000000##FFFFFF
##7318711.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B73
Deuteranopia (green-blind)
#33466F
Tritanopia (blue-blind)
#772644
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731871;
/* rgb */ color: rgb(115, 24, 113);
/* oklch */ color: oklch(40.1% 0.160 329.0);
Tailwind
colors: {
  custom: {
    50: '#9f619a',
    500: '#731871',
    950: '#000000',
  },
}
SCSS
$custom: #731871;
$custom-light: #9f619a;
$custom-dark: #000000;
JSON
{
  "hex": "#731871",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 301.319,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40135,
    "c": 0.16042,
    "h": 329
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#731871
secondary
#3FA841
accent
#E8433F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731871

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

Preview Lab → · Contrast checker → · Palette generator →

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