#731876#731876

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

Color values

HEX#731876
RGBrgb(115, 24, 118)
HSLhsl(298, 66%, 28%)
HSVhsv(298, 80%, 46%)
CMYKcmyk(2.5%, 79.7%, 0%, 53.7%)
CIE-LABlab(28.40, 49.80, -32.51)
CIE-LCHlch(28.40, 59.48, 326.86°)
OKLaboklab(40.45% 0.1374 -0.0904)
OKLCHoklch(40.45% 0.164 326.7)
XYZxyz(10.6667, 5.6069, 17.6564)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731876 #1B7618
analogous
#441876 #731876 #76184A
triadic
#731876 #767318 #187673
tetradic
#731876 #764418 #1B7618 #184A76
square
#731876 #764418 #1B7618 #184A76
split-complementary
#731876 #4A7618 #187644
monochromatic
#190519 #410E43 #731876 #A522A9 #D033D5

Accessibility & contrast

On white

9.90
#731876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731876
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731876#FFFFFF#000000##FFFFFF
##7318761.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.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: #731876;
/* rgb */ color: rgb(115, 24, 118);
/* oklch */ color: oklch(40.5% 0.164 326.7);
Tailwind
colors: {
  custom: {
    50: '#9f619e',
    500: '#731876',
    950: '#000000',
  },
}
SCSS
$custom: #731876;
$custom-light: #9f619e;
$custom-dark: #000000;
JSON
{
  "hex": "#731876",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 298.085,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40453,
    "c": 0.16449,
    "h": 326.7
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#731876
secondary
#42AB3F
accent
#E93F44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731876

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

Preview Lab → · Contrast checker → · Palette generator →

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