#731F85#731F85

#731F85 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.170 H 319.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#731F85
RGBrgb(115, 31, 133)
HSLhsl(289, 62%, 32%)
HSVhsv(289, 77%, 52%)
CMYKcmyk(13.5%, 76.7%, 0%, 47.8%)
CIE-LABlab(30.20, 50.23, -39.08)
CIE-LCHlch(30.20, 63.64, 322.12°)
OKLaboklab(42.05% 0.1298 -0.1096)
OKLCHoklch(42.05% 0.17 319.8)
XYZxyz(11.7933, 6.3189, 22.7842)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F85 #31851F
analogous
#401F85 #731F85 #851F64
triadic
#731F85 #85731F #1F8573
tetradic
#731F85 #85401F #31851F #1F6485
square
#731F85 #85401F #31851F #1F6485
split-complementary
#731F85 #64851F #1F8540
monochromatic
#1D0822 #481353 #731F85 #9E2BB7 #BC4AD5

Accessibility & contrast

On white

9.28
#731F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#731F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F85
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F85#FFFFFF#000000##FFFFFF
##731F851.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#733451
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731f85;
/* rgb */ color: rgb(115, 31, 133);
/* oklch */ color: oklch(42.0% 0.170 319.8);
Tailwind
colors: {
  custom: {
    50: '#9f64a9',
    500: '#731f85',
    950: '#000000',
  },
}
SCSS
$custom: #731f85;
$custom-light: #9f64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#731f85",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 289.412,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42049,
    "c": 0.1699,
    "h": 319.8
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#731F85
secondary
#5CB749
accent
#E5435F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731F85

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

Preview Lab → · Contrast checker → · Palette generator →

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