#731981#731981

#731981 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.173 H 321.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#731981
RGBrgb(115, 25, 129)
HSLhsl(292, 68%, 30%)
HSVhsv(292, 81%, 51%)
CMYKcmyk(10.9%, 80.6%, 0%, 49.4%)
CIE-LABlab(29.22, 51.50, -38.14)
CIE-LCHlch(29.22, 64.09, 323.48°)
OKLaboklab(41.27% 0.1357 -0.1068)
OKLCHoklch(41.27% 0.173 321.8)
XYZxyz(11.3799, 5.9257, 21.3090)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731981 #278119
analogous
#3F1981 #731981 #81195B
triadic
#731981 #817319 #198173
tetradic
#731981 #813F19 #278119 #195B81
square
#731981 #813F19 #278119 #195B81
split-complementary
#731981 #5B8119 #19813F
monochromatic
#18051A #450F4E #731981 #A123B4 #C43BD9

Accessibility & contrast

On white

9.61
#731981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#731981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731981
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731981#FFFFFF#000000##FFFFFF
##7319811.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#28487F
Tritanopia (blue-blind)
#742F4D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731981;
/* rgb */ color: rgb(115, 25, 129);
/* oklch */ color: oklch(41.3% 0.173 321.8);
Tailwind
colors: {
  custom: {
    50: '#9f62a6',
    500: '#731981',
    950: '#000000',
  },
}
SCSS
$custom: #731981;
$custom-light: #9f62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731981",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 291.923,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.17269,
    "h": 321.8
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#731981
secondary
#50B541
accent
#EA3D55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731981

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

Preview Lab → · Contrast checker → · Palette generator →

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