#731581#731581

#731581 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.176 H 321.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#731581
RGBrgb(115, 21, 129)
HSLhsl(292, 72%, 29%)
HSVhsv(292, 84%, 51%)
CMYKcmyk(10.9%, 83.7%, 0%, 49.4%)
CIE-LABlab(28.82, 52.69, -38.80)
CIE-LCHlch(28.82, 65.43, 323.63°)
OKLaboklab(40.98% 0.1389 -0.1087)
OKLCHoklch(40.98% 0.176 321.9)
XYZxyz(11.3004, 5.7668, 21.2825)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731581 #238115
analogous
#3D1581 #731581 #811559
triadic
#731581 #817315 #158173
tetradic
#731581 #813D15 #238115 #155981
square
#731581 #813D15 #238115 #155981
split-complementary
#731581 #598115 #15813D
monochromatic
#17041A #440C4C #731581 #A21EB6 #C833DE

Accessibility & contrast

On white

9.75
#731581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731581
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731581#FFFFFF#000000##FFFFFF
##7315811.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731581;
/* rgb */ color: rgb(115, 21, 129);
/* oklch */ color: oklch(41.0% 0.176 321.9);
Tailwind
colors: {
  custom: {
    50: '#9f60a6',
    500: '#731581',
    950: '#000000',
  },
}
SCSS
$custom: #731581;
$custom-light: #9f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731581",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 292.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.17636,
    "h": 321.9
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#731581
secondary
#4CB63C
accent
#EF3951
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #731581

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

Preview Lab → · Contrast checker → · Palette generator →

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