#731979#731979

#731979 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.166 H 325.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#731979
RGBrgb(115, 25, 121)
HSLhsl(296, 66%, 29%)
HSVhsv(296, 79%, 47%)
CMYKcmyk(5%, 79.3%, 0%, 52.5%)
CIE-LABlab(28.70, 50.03, -33.94)
CIE-LCHlch(28.70, 60.45, 325.84°)
OKLaboklab(40.73% 0.1364 -0.0945)
OKLCHoklch(40.73% 0.166 325.3)
XYZxyz(10.8688, 5.7213, 18.6173)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731979 #1F7919
analogous
#431979 #731979 #79194F
triadic
#731979 #797319 #197973
tetradic
#731979 #794319 #1F7919 #194F79
square
#731979 #794319 #1F7919 #194F79
split-complementary
#731979 #4F7919 #197943
monochromatic
#180519 #430F46 #731979 #A323AC #CC37D6

Accessibility & contrast

On white

9.79
#731979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#731979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731979
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731979#FFFFFF#000000##FFFFFF
##7319791.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731979;
/* rgb */ color: rgb(115, 25, 121);
/* oklch */ color: oklch(40.7% 0.166 325.3);
Tailwind
colors: {
  custom: {
    50: '#9f61a0',
    500: '#731979',
    950: '#000000',
  },
}
SCSS
$custom: #731979;
$custom-light: #9f61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#731979",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 296.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.16595,
    "h": 325.3
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#731979
secondary
#47AE40
accent
#E93F4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #731979

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

Preview Lab → · Contrast checker → · Palette generator →

#731979 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva