#731776#731776

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

Color values

HEX#731776
RGBrgb(115, 23, 118)
HSLhsl(298, 67%, 28%)
HSVhsv(298, 81%, 46%)
CMYKcmyk(2.5%, 80.5%, 0%, 53.7%)
CIE-LABlab(28.29, 50.11, -32.69)
CIE-LCHlch(28.29, 59.83, 326.89°)
OKLaboklab(40.38% 0.1383 -0.0909)
OKLCHoklch(40.38% 0.165 326.7)
XYZxyz(10.6465, 5.5664, 17.6497)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731776 #1A7617
analogous
#431776 #731776 #76174A
triadic
#731776 #767317 #177673
tetradic
#731776 #764317 #1A7617 #174A76
square
#731776 #764317 #1A7617 #174A76
split-complementary
#731776 #4A7617 #177643
monochromatic
#19051A #410D43 #731776 #A521A9 #D231D7

Accessibility & contrast

On white

9.94
#731776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#731776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731776
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731776#FFFFFF#000000##FFFFFF
##7317761.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#304774
Tritanopia (blue-blind)
#762846
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731776;
/* rgb */ color: rgb(115, 23, 118);
/* oklch */ color: oklch(40.4% 0.165 326.7);
Tailwind
colors: {
  custom: {
    50: '#9f609e',
    500: '#731776',
    950: '#000000',
  },
}
SCSS
$custom: #731776;
$custom-light: #9f609e;
$custom-dark: #000000;
JSON
{
  "hex": "#731776",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 298.105,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.16547,
    "h": 326.7
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#731776
secondary
#41AB3E
accent
#EA3E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731776

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

Preview Lab → · Contrast checker → · Palette generator →

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