#731872#731872

#731872 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.161 H 328.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#731872
RGBrgb(115, 24, 114)
HSLhsl(301, 65%, 27%)
HSVhsv(301, 79%, 45%)
CMYKcmyk(0%, 79.1%, 0.9%, 54.9%)
CIE-LABlab(28.15, 49.10, -30.36)
CIE-LCHlch(28.15, 57.73, 328.27°)
OKLaboklab(40.2% 0.1376 -0.0841)
OKLCHoklch(40.2% 0.161 328.6)
XYZxyz(10.4340, 5.5138, 16.4310)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731872 #187319
analogous
#461873 #731872 #731845
triadic
#731872 #727318 #187273
tetradic
#731872 #734618 #187319 #184573
square
#731872 #734618 #187319 #184573
split-complementary
#731872 #457318 #187346
monochromatic
#190519 #400D40 #731872 #A623A4 #D431D2

Accessibility & contrast

On white

9.99
#731872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731872
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731872#FFFFFF#000000##FFFFFF
##7318721.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B74
Deuteranopia (green-blind)
#324770
Tritanopia (blue-blind)
#772744
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731872;
/* rgb */ color: rgb(115, 24, 114);
/* oklch */ color: oklch(40.2% 0.161 328.6);
Tailwind
colors: {
  custom: {
    50: '#9f619b',
    500: '#731872',
    950: '#000000',
  },
}
SCSS
$custom: #731872;
$custom-light: #9f619b;
$custom-dark: #000000;
JSON
{
  "hex": "#731872",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 300.659,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.16123,
    "h": 328.6
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#731872
secondary
#3FA840
accent
#E8413F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731872

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

Preview Lab → · Contrast checker → · Palette generator →

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