#731481#731481

#731481 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.177 H 322.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#731481
RGBrgb(115, 20, 129)
HSLhsl(292, 73%, 29%)
HSVhsv(292, 84%, 51%)
CMYKcmyk(10.9%, 84.5%, 0%, 49.4%)
CIE-LABlab(28.72, 52.96, -38.95)
CIE-LCHlch(28.72, 65.74, 323.67°)
OKLaboklab(40.92% 0.1396 -0.1092)
OKLCHoklch(40.92% 0.177 322)
XYZxyz(11.2824, 5.7308, 21.2765)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731481 #228114
analogous
#3D1481 #731481 #811459
triadic
#731481 #817314 #148173
tetradic
#731481 #813D14 #228114 #145981
square
#731481 #813D14 #228114 #145981
split-complementary
#731481 #598114 #14813D
monochromatic
#18041A #440C4C #731481 #A21CB6 #C930DF

Accessibility & contrast

On white

9.79
#731481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#731481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731481
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731481#FFFFFF#000000##FFFFFF
##7314811.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#26477F
Tritanopia (blue-blind)
#742C4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731481;
/* rgb */ color: rgb(115, 20, 129);
/* oklch */ color: oklch(40.9% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#9f60a6',
    500: '#731481',
    950: '#000000',
  },
}
SCSS
$custom: #731481;
$custom-light: #9f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731481",
  "rgb": {
    "r": 115,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 292.294,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40915,
    "c": 0.1772,
    "h": 322
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#731481
secondary
#4BB63B
accent
#F03850
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #731481

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

Preview Lab → · Contrast checker → · Palette generator →

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