#731A75#731A75

#731A75 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.162 H 327.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#731A75
RGBrgb(115, 26, 117)
HSLhsl(299, 64%, 28%)
HSVhsv(299, 78%, 46%)
CMYKcmyk(1.7%, 77.8%, 0%, 54.1%)
CIE-LABlab(28.56, 48.98, -31.62)
CIE-LCHlch(28.56, 58.30, 327.16°)
OKLaboklab(40.55% 0.1357 -0.0878)
OKLCHoklch(40.55% 0.162 327.1)
XYZxyz(10.6503, 5.6687, 17.3594)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A75 #1C751A
analogous
#451A75 #731A75 #751A49
triadic
#731A75 #75731A #1A7573
tetradic
#731A75 #75451A #1C751A #1A4975
square
#731A75 #75451A #1C751A #1A4975
split-complementary
#731A75 #49751A #1A7545
monochromatic
#190619 #420F43 #731A75 #A425A7 #CF37D3

Accessibility & contrast

On white

9.84
#731A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#731A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A75
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A75#FFFFFF#000000##FFFFFF
##731A751.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C77
Deuteranopia (green-blind)
#324773
Tritanopia (blue-blind)
#762946
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731a75;
/* rgb */ color: rgb(115, 26, 117);
/* oklch */ color: oklch(40.5% 0.162 327.1);
Tailwind
colors: {
  custom: {
    50: '#9f629d',
    500: '#731a75',
    950: '#000000',
  },
}
SCSS
$custom: #731a75;
$custom-light: #9f629d;
$custom-dark: #000000;
JSON
{
  "hex": "#731a75",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 298.681,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.16158,
    "h": 327.1
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#731A75
secondary
#43AA41
accent
#E74145
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731A75

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

Preview Lab → · Contrast checker → · Palette generator →

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