#731777#731777

#731777 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.166 H 326.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#731777
RGBrgb(115, 23, 119)
HSLhsl(298, 68%, 28%)
HSVhsv(298, 81%, 47%)
CMYKcmyk(3.4%, 80.7%, 0%, 53.3%)
CIE-LABlab(28.35, 50.29, -33.22)
CIE-LCHlch(28.35, 60.27, 326.55°)
OKLaboklab(40.44% 0.1382 -0.0924)
OKLCHoklch(40.44% 0.166 326.2)
XYZxyz(10.7062, 5.5903, 17.9643)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731777 #1B7717
analogous
#431777 #731777 #77174B
triadic
#731777 #777317 #177773
tetradic
#731777 #774317 #1B7717 #174B77
square
#731777 #774317 #1B7717 #174B77
split-complementary
#731777 #4B7717 #177743
monochromatic
#19051A #410D44 #731777 #A521AA #D031D7

Accessibility & contrast

On white

9.92
#731777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731777
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731777#FFFFFF#000000##FFFFFF
##7317771.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#2F4775
Tritanopia (blue-blind)
#762947
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731777;
/* rgb */ color: rgb(115, 23, 119);
/* oklch */ color: oklch(40.4% 0.166 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f619f',
    500: '#731777',
    950: '#000000',
  },
}
SCSS
$custom: #731777;
$custom-light: #9f619f;
$custom-dark: #000000;
JSON
{
  "hex": "#731777",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 297.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40442,
    "c": 0.16629,
    "h": 326.2
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#731777
secondary
#42AC3E
accent
#EA3D45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731777

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

Preview Lab → · Contrast checker → · Palette generator →

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