#731879#731879

#731879 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.167 H 325.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#731879
RGBrgb(115, 24, 121)
HSLhsl(296, 67%, 28%)
HSVhsv(296, 80%, 47%)
CMYKcmyk(5%, 80.2%, 0%, 52.5%)
CIE-LABlab(28.59, 50.34, -34.12)
CIE-LCHlch(28.59, 60.81, 325.87°)
OKLaboklab(40.65% 0.1373 -0.095)
OKLCHoklch(40.65% 0.167 325.3)
XYZxyz(10.8478, 5.6793, 18.6103)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731879 #1E7918
analogous
#421879 #731879 #79184E
triadic
#731879 #797318 #187973
tetradic
#731879 #794218 #1E7918 #184E79
square
#731879 #794218 #1E7918 #184E79
split-complementary
#731879 #4E7918 #187942
monochromatic
#18051A #420E46 #731879 #A422AC #CD35D7

Accessibility & contrast

On white

9.83
#731879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#731879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731879
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731879#FFFFFF#000000##FFFFFF
##7318791.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#2E4777
Tritanopia (blue-blind)
#762A48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731879;
/* rgb */ color: rgb(115, 24, 121);
/* oklch */ color: oklch(40.6% 0.167 325.3);
Tailwind
colors: {
  custom: {
    50: '#9f61a0',
    500: '#731879',
    950: '#000000',
  },
}
SCSS
$custom: #731879;
$custom-light: #9f61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#731879",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 296.289,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.16696,
    "h": 325.3
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#731879
secondary
#46AE3F
accent
#EA3E49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #731879

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

Preview Lab → · Contrast checker → · Palette generator →

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