#731C9C#731C9C

#731C9C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.194 H 311.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#731C9C
RGBrgb(115, 28, 156)
HSLhsl(281, 70%, 36%)
HSVhsv(281, 82%, 61%)
CMYKcmyk(26.3%, 82.1%, 0%, 38.8%)
CIE-LABlab(31.52, 55.94, -51.12)
CIE-LCHlch(31.52, 75.78, 317.58°)
OKLaboklab(43.51% 0.1284 -0.1449)
OKLCHoklch(43.51% 0.194 311.5)
XYZxyz(13.4851, 6.8760, 32.0629)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C9C #459C1C
analogous
#331C9C #731C9C #9C1C85
triadic
#731C9C #9C731C #1C9C73
tetradic
#731C9C #9C331C #459C1C #1C859C
square
#731C9C #9C331C #459C1C #1C859C
split-complementary
#731C9C #859C1C #1C9C33
monochromatic
#260934 #4D1368 #731C9C #9925D0 #B352E0

Accessibility & contrast

On white

8.84
#731C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#731C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C9C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C9C#FFFFFF#000000##FFFFFF
##731C9C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#6E3D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731c9c;
/* rgb */ color: rgb(115, 28, 156);
/* oklch */ color: oklch(43.5% 0.194 311.5);
Tailwind
colors: {
  custom: {
    50: '#a064ba',
    500: '#731c9c',
    950: '#000000',
  },
}
SCSS
$custom: #731c9c;
$custom-light: #a064ba;
$custom-dark: #000000;
JSON
{
  "hex": "#731c9c",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 280.781,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43507,
    "c": 0.19364,
    "h": 311.5
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#731C9C
secondary
#75C351
accent
#EC3B74
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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