#731A79#731A79

#731A79 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.165 H 325.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#731A79
RGBrgb(115, 26, 121)
HSLhsl(296, 65%, 29%)
HSVhsv(296, 79%, 47%)
CMYKcmyk(5%, 78.5%, 0%, 52.5%)
CIE-LABlab(28.81, 49.70, -33.76)
CIE-LCHlch(28.81, 60.08, 325.81°)
OKLaboklab(40.81% 0.1355 -0.094)
OKLCHoklch(40.81% 0.165 325.2)
XYZxyz(10.8906, 5.7648, 18.6246)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A79 #20791A
analogous
#441A79 #731A79 #791A50
triadic
#731A79 #79731A #1A7973
tetradic
#731A79 #79441A #20791A #1A5079
square
#731A79 #79441A #20791A #1A5079
split-complementary
#731A79 #50791A #1A7944
monochromatic
#180519 #430F47 #731A79 #A325AB #CB39D4

Accessibility & contrast

On white

9.75
#731A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731A79
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A79#FFFFFF#000000##FFFFFF
##731A791.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#2F4877
Tritanopia (blue-blind)
#762B49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731a79;
/* rgb */ color: rgb(115, 26, 121);
/* oklch */ color: oklch(40.8% 0.165 325.2);
Tailwind
colors: {
  custom: {
    50: '#9f62a0',
    500: '#731a79',
    950: '#000000',
  },
}
SCSS
$custom: #731a79;
$custom-light: #9f62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#731a79",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 296.211,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.16491,
    "h": 325.2
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#731A79
secondary
#48AD41
accent
#E8404B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #731A79

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

Preview Lab → · Contrast checker → · Palette generator →

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