#731976#731976

#731976 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.163 H 326.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#731976
RGBrgb(115, 25, 118)
HSLhsl(298, 65%, 28%)
HSVhsv(298, 79%, 46%)
CMYKcmyk(2.5%, 78.8%, 0%, 53.7%)
CIE-LABlab(28.51, 49.49, -32.34)
CIE-LCHlch(28.51, 59.12, 326.84°)
OKLaboklab(40.53% 0.1365 -0.0899)
OKLCHoklch(40.53% 0.163 326.6)
XYZxyz(10.6877, 5.6489, 17.6634)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731976 #1C7619
analogous
#451976 #731976 #76194A
triadic
#731976 #767319 #197673
tetradic
#731976 #764519 #1C7619 #194A76
square
#731976 #764519 #1C7619 #194A76
split-complementary
#731976 #4A7619 #197645
monochromatic
#190519 #420E43 #731976 #A424A8 #CF35D4

Accessibility & contrast

On white

9.86
#731976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731976
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731976#FFFFFF#000000##FFFFFF
##7319761.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731976;
/* rgb */ color: rgb(115, 25, 118);
/* oklch */ color: oklch(40.5% 0.163 326.6);
Tailwind
colors: {
  custom: {
    50: '#9f619e',
    500: '#731976',
    950: '#000000',
  },
}
SCSS
$custom: #731976;
$custom-light: #9f619e;
$custom-dark: #000000;
JSON
{
  "hex": "#731976",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 298.065,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.16347,
    "h": 326.6
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#731976
secondary
#43AB40
accent
#E84045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731976

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

Preview Lab → · Contrast checker → · Palette generator →

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