#731D79#731D79

#731D79 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.162 H 325.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#731D79
RGBrgb(115, 29, 121)
HSLhsl(296, 61%, 29%)
HSVhsv(296, 76%, 47%)
CMYKcmyk(5%, 76%, 0%, 52.5%)
CIE-LABlab(29.17, 48.67, -33.19)
CIE-LCHlch(29.17, 58.91, 325.71°)
OKLaboklab(41.06% 0.1326 -0.0924)
OKLCHoklch(41.06% 0.162 325.1)
XYZxyz(10.9605, 5.9048, 18.6479)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D79 #23791D
analogous
#451D79 #731D79 #791D51
triadic
#731D79 #79731D #1D7973
tetradic
#731D79 #79451D #23791D #1D5179
square
#731D79 #79451D #23791D #1D5179
split-complementary
#731D79 #51791D #1D7945
monochromatic
#170619 #441148 #731D79 #A229AA #C83FD1

Accessibility & contrast

On white

9.63
#731D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#731D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D79
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D79#FFFFFF#000000##FFFFFF
##731D791.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#304877
Tritanopia (blue-blind)
#762D49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731d79;
/* rgb */ color: rgb(115, 29, 121);
/* oklch */ color: oklch(41.1% 0.162 325.1);
Tailwind
colors: {
  custom: {
    50: '#9e63a0',
    500: '#731d79',
    950: '#000000',
  },
}
SCSS
$custom: #731d79;
$custom-light: #9e63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#731d79",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 296.087,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.16163,
    "h": 325.1
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#731D79
secondary
#4CAD45
accent
#E4434E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #731D79

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

Preview Lab → · Contrast checker → · Palette generator →

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