#731B79#731B79

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

Color values

HEX#731B79
RGBrgb(115, 27, 121)
HSLhsl(296, 64%, 29%)
HSVhsv(296, 78%, 47%)
CMYKcmyk(5%, 77.7%, 0%, 52.5%)
CIE-LABlab(28.93, 49.36, -33.57)
CIE-LCHlch(28.93, 59.70, 325.78°)
OKLaboklab(40.89% 0.1346 -0.0935)
OKLCHoklch(40.89% 0.164 325.2)
XYZxyz(10.9131, 5.8099, 18.6321)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B79 #21791B
analogous
#441B79 #731B79 #791B50
triadic
#731B79 #79731B #1B7973
tetradic
#731B79 #79441B #21791B #1B5079
square
#731B79 #79441B #21791B #1B5079
split-complementary
#731B79 #50791B #1B7944
monochromatic
#180619 #431047 #731B79 #A326AB #CA3BD3

Accessibility & contrast

On white

9.71
#731B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#731B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B79
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B79#FFFFFF#000000##FFFFFF
##731B791.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731b79;
/* rgb */ color: rgb(115, 27, 121);
/* oklch */ color: oklch(40.9% 0.164 325.2);
Tailwind
colors: {
  custom: {
    50: '#9f62a0',
    500: '#731b79',
    950: '#000000',
  },
}
SCSS
$custom: #731b79;
$custom-light: #9f62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#731b79",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 296.17,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.16384,
    "h": 325.2
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#731B79
secondary
#49AD43
accent
#E7414C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #731B79

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

Preview Lab → · Contrast checker → · Palette generator →

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