#731A7C#731A7C

#731A7C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.167 H 323.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#731A7C
RGBrgb(115, 26, 124)
HSLhsl(294, 65%, 29%)
HSVhsv(294, 79%, 49%)
CMYKcmyk(7.3%, 79%, 0%, 51.4%)
CIE-LABlab(29.00, 50.25, -35.35)
CIE-LCHlch(29.00, 61.44, 324.87°)
OKLaboklab(41.01% 0.1353 -0.0987)
OKLCHoklch(41.01% 0.167 323.9)
XYZxyz(11.0774, 5.8396, 19.6086)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A7C #237C1A
analogous
#421A7C #731A7C #7C1A54
triadic
#731A7C #7C731A #1A7C73
tetradic
#731A7C #7C421A #237C1A #1A547C
square
#731A7C #7C421A #237C1A #1A547C
split-complementary
#731A7C #547C1A #1A7C42
monochromatic
#170519 #440F49 #731A7C #A225AF #C83BD6

Accessibility & contrast

On white

9.69
#731A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#731A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A7C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A7C#FFFFFF#000000##FFFFFF
##731A7C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#752D4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731a7c;
/* rgb */ color: rgb(115, 26, 124);
/* oklch */ color: oklch(41.0% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#9f62a2',
    500: '#731a7c',
    950: '#000000',
  },
}
SCSS
$custom: #731a7c;
$custom-light: #9f62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#731a7c",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 294.49,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.16744,
    "h": 323.9
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#731A7C
secondary
#4CB042
accent
#E8404F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731A7C

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

Preview Lab → · Contrast checker → · Palette generator →

#731A7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva