#731A77#731A77

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

Color values

HEX#731A77
RGBrgb(115, 26, 119)
HSLhsl(297, 64%, 28%)
HSVhsv(297, 78%, 47%)
CMYKcmyk(3.4%, 78.2%, 0%, 53.3%)
CIE-LABlab(28.69, 49.34, -32.69)
CIE-LCHlch(28.69, 59.19, 326.47°)
OKLaboklab(40.68% 0.1356 -0.0909)
OKLCHoklch(40.68% 0.163 326.2)
XYZxyz(10.7692, 5.7163, 17.9853)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A77 #1E771A
analogous
#441A77 #731A77 #771A4C
triadic
#731A77 #77731A #1A7773
tetradic
#731A77 #77441A #1E771A #1A4C77
square
#731A77 #77441A #1E771A #1A4C77
split-complementary
#731A77 #4C771A #1A7744
monochromatic
#180519 #420F45 #731A77 #A425A9 #CD38D3

Accessibility & contrast

On white

9.80
#731A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#731A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A77
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A77#FFFFFF#000000##FFFFFF
##731A771.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#304775
Tritanopia (blue-blind)
#762A48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731a77;
/* rgb */ color: rgb(115, 26, 119);
/* oklch */ color: oklch(40.7% 0.163 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f629f',
    500: '#731a77',
    950: '#000000',
  },
}
SCSS
$custom: #731a77;
$custom-light: #9f629f;
$custom-dark: #000000;
JSON
{
  "hex": "#731a77",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 297.419,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.16324,
    "h": 326.2
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#731A77
secondary
#46AC41
accent
#E74148
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731A77

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

Preview Lab → · Contrast checker → · Palette generator →

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