#731A85#731A85

#731A85 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.175 H 320.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#731A85
RGBrgb(115, 26, 133)
HSLhsl(290, 67%, 31%)
HSVhsv(290, 80%, 52%)
CMYKcmyk(13.5%, 80.5%, 0%, 47.8%)
CIE-LABlab(29.61, 51.95, -40.03)
CIE-LCHlch(29.61, 65.58, 322.38°)
OKLaboklab(41.63% 0.1343 -0.1124)
OKLCHoklch(41.63% 0.175 320.1)
XYZxyz(11.6727, 6.0777, 22.7440)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A85 #2C851A
analogous
#3D1A85 #731A85 #851A61
triadic
#731A85 #85731A #1A8573
tetradic
#731A85 #853D1A #2C851A #1A6185
square
#731A85 #853D1A #2C851A #1A6185
split-complementary
#731A85 #61851A #1A853D
monochromatic
#1A061F #471052 #731A85 #9F24B8 #C040DA

Accessibility & contrast

On white

9.48
#731A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#731A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A85
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A85#FFFFFF#000000##FFFFFF
##731A851.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#254983
Tritanopia (blue-blind)
#733150
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731a85;
/* rgb */ color: rgb(115, 26, 133);
/* oklch */ color: oklch(41.6% 0.175 320.1);
Tailwind
colors: {
  custom: {
    50: '#9f62a9',
    500: '#731a85',
    950: '#000000',
  },
}
SCSS
$custom: #731a85;
$custom-light: #9f62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#731a85",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 289.907,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.17514,
    "h": 320.1
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#731A85
secondary
#56B842
accent
#EA3E5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731A85

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

Preview Lab → · Contrast checker → · Palette generator →

#731A85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva