#731A78#731A78

#731A78 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.164 H 325.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#731A78
RGBrgb(115, 26, 120)
HSLhsl(297, 64%, 29%)
HSVhsv(297, 78%, 47%)
CMYKcmyk(4.2%, 78.3%, 0%, 52.9%)
CIE-LABlab(28.75, 49.52, -33.23)
CIE-LCHlch(28.75, 59.63, 326.14°)
OKLaboklab(40.74% 0.1355 -0.0925)
OKLCHoklch(40.74% 0.164 325.7)
XYZxyz(10.8296, 5.7404, 18.3033)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A78 #1F781A
analogous
#441A78 #731A78 #781A4E
triadic
#731A78 #78731A #1A7873
tetradic
#731A78 #78441A #1F781A #1A4E78
square
#731A78 #78441A #1F781A #1A4E78
split-complementary
#731A78 #4E781A #1A7844
monochromatic
#180519 #430F46 #731A78 #A325AA #CC38D4

Accessibility & contrast

On white

9.78
#731A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#731A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A78
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A78#FFFFFF#000000##FFFFFF
##731A781.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#304776
Tritanopia (blue-blind)
#762B48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731a78;
/* rgb */ color: rgb(115, 26, 120);
/* oklch */ color: oklch(40.7% 0.164 325.7);
Tailwind
colors: {
  custom: {
    50: '#9f629f',
    500: '#731a78',
    950: '#000000',
  },
}
SCSS
$custom: #731a78;
$custom-light: #9f629f;
$custom-dark: #000000;
JSON
{
  "hex": "#731a78",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 296.809,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40742,
    "c": 0.16407,
    "h": 325.7
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#731A78
secondary
#47AC41
accent
#E74049
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731A78

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

Preview Lab → · Contrast checker → · Palette generator →

#731A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva