#731B85#731B85

#731B85 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.174 H 320.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#731B85
RGBrgb(115, 27, 133)
HSLhsl(290, 66%, 31%)
HSVhsv(290, 80%, 52%)
CMYKcmyk(13.5%, 79.7%, 0%, 47.8%)
CIE-LABlab(29.72, 51.62, -39.85)
CIE-LCHlch(29.72, 65.22, 322.33°)
OKLaboklab(41.71% 0.1335 -0.1118)
OKLCHoklch(41.71% 0.174 320)
XYZxyz(11.6953, 6.1228, 22.7515)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B85 #2D851B
analogous
#3E1B85 #731B85 #851B62
triadic
#731B85 #85731B #1B8573
tetradic
#731B85 #853E1B #2D851B #1B6285
square
#731B85 #853E1B #2D851B #1B6285
split-complementary
#731B85 #62851B #1B853E
monochromatic
#1B061F #471152 #731B85 #9F25B8 #BF42D9

Accessibility & contrast

On white

9.44
#731B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731B85
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B85#FFFFFF#000000##FFFFFF
##731B851.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731b85;
/* rgb */ color: rgb(115, 27, 133);
/* oklch */ color: oklch(41.7% 0.174 320.0);
Tailwind
colors: {
  custom: {
    50: '#9f63a9',
    500: '#731b85',
    950: '#000000',
  },
}
SCSS
$custom: #731b85;
$custom-light: #9f63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#731b85",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 289.811,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.17416,
    "h": 320
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#731B85
secondary
#57B844
accent
#E93F5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731B85

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

Preview Lab → · Contrast checker → · Palette generator →

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