#731381#731381

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

Color values

HEX#731381
RGBrgb(115, 19, 129)
HSLhsl(292, 74%, 29%)
HSVhsv(292, 85%, 51%)
CMYKcmyk(10.9%, 85.3%, 0%, 49.4%)
CIE-LABlab(28.63, 53.22, -39.09)
CIE-LCHlch(28.63, 66.04, 323.70°)
OKLaboklab(40.85% 0.1403 -0.1096)
OKLCHoklch(40.85% 0.178 322)
XYZxyz(11.2651, 5.6962, 21.2707)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731381 #218113
analogous
#3C1381 #731381 #811358
triadic
#731381 #817313 #138173
tetradic
#731381 #813C13 #218113 #135881
square
#731381 #813C13 #218113 #135881
split-complementary
#731381 #588113 #13813C
monochromatic
#18041B #430B4C #731381 #A31BB6 #CA2EE0

Accessibility & contrast

On white

9.82
#731381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#731381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731381
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731381#FFFFFF#000000##FFFFFF
##7313811.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731381;
/* rgb */ color: rgb(115, 19, 129);
/* oklch */ color: oklch(40.9% 0.178 322.0);
Tailwind
colors: {
  custom: {
    50: '#9f60a6',
    500: '#731381',
    950: '#000000',
  },
}
SCSS
$custom: #731381;
$custom-light: #9f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731381",
  "rgb": {
    "r": 115,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 292.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.17801,
    "h": 322
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#731381
secondary
#49B63A
accent
#F1374F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #731381

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

Preview Lab → · Contrast checker → · Palette generator →

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