#731779#731779

#731779 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.168 H 325.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#731779
RGBrgb(115, 23, 121)
HSLhsl(296, 68%, 28%)
HSVhsv(296, 81%, 47%)
CMYKcmyk(5%, 81%, 0%, 52.5%)
CIE-LABlab(28.48, 50.65, -34.29)
CIE-LCHlch(28.48, 61.16, 325.90°)
OKLaboklab(40.57% 0.1381 -0.0955)
OKLCHoklch(40.57% 0.168 325.3)
XYZxyz(10.8276, 5.6388, 18.6036)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731779 #1D7917
analogous
#421779 #731779 #79174E
triadic
#731779 #797317 #177973
tetradic
#731779 #794217 #1D7917 #174E79
square
#731779 #794217 #1D7917 #174E79
split-complementary
#731779 #4E7917 #177942
monochromatic
#18051A #420D46 #731779 #A421AC #CE32D8

Accessibility & contrast

On white

9.87
#731779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#731779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731779
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731779#FFFFFF#000000##FFFFFF
##7317791.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#762A48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731779;
/* rgb */ color: rgb(115, 23, 121);
/* oklch */ color: oklch(40.6% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#9f61a0',
    500: '#731779',
    950: '#000000',
  },
}
SCSS
$custom: #731779;
$custom-light: #9f61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#731779",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 296.327,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.16794,
    "h": 325.3
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#731779
secondary
#45AE3E
accent
#EB3D48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #731779

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

Preview Lab → · Contrast checker → · Palette generator →

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