#731881#731881

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

Color values

HEX#731881
RGBrgb(115, 24, 129)
HSLhsl(292, 69%, 30%)
HSVhsv(292, 81%, 51%)
CMYKcmyk(10.9%, 81.4%, 0%, 49.4%)
CIE-LABlab(29.12, 51.81, -38.32)
CIE-LCHlch(29.12, 64.44, 323.52°)
OKLaboklab(41.19% 0.1365 -0.1073)
OKLCHoklch(41.19% 0.174 321.8)
XYZxyz(11.3589, 5.8837, 21.3020)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731881 #268118
analogous
#3F1881 #731881 #81185A
triadic
#731881 #817318 #188173
tetradic
#731881 #813F18 #268118 #185A81
square
#731881 #813F18 #268118 #185A81
split-complementary
#731881 #5A8118 #18813F
monochromatic
#17051A #450E4D #731881 #A122B5 #C539DA

Accessibility & contrast

On white

9.65
#731881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#731881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731881
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731881#FFFFFF#000000##FFFFFF
##7318811.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731881;
/* rgb */ color: rgb(115, 24, 129);
/* oklch */ color: oklch(41.2% 0.174 321.8);
Tailwind
colors: {
  custom: {
    50: '#9f61a6',
    500: '#731881',
    950: '#000000',
  },
}
SCSS
$custom: #731881;
$custom-light: #9f61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731881",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 292,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.41193,
    "c": 0.17365,
    "h": 321.8
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#731881
secondary
#4FB540
accent
#EB3C54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731881

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

Preview Lab → · Contrast checker → · Palette generator →

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