#731F93#731F93

#731F93 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.183 H 314.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#731F93
RGBrgb(115, 31, 147)
HSLhsl(283, 65%, 35%)
HSVhsv(283, 79%, 58%)
CMYKcmyk(21.8%, 78.9%, 0%, 42.4%)
CIE-LABlab(31.19, 53.06, -46.16)
CIE-LCHlch(31.19, 70.33, 318.98°)
OKLaboklab(43.06% 0.1278 -0.1304)
OKLCHoklch(43.06% 0.183 314.4)
XYZxyz(12.8258, 6.7318, 28.2219)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F93 #3F931F
analogous
#391F93 #731F93 #931F79
triadic
#731F93 #93731F #1F9373
tetradic
#731F93 #93391F #3F931F #1F7993
square
#731F93 #93391F #3F931F #1F7993
split-complementary
#731F93 #79931F #1F9339
monochromatic
#240A2E #4B1460 #731F93 #9B2AC6 #B552DA

Accessibility & contrast

On white

8.95
#731F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#731F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F93
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F93#FFFFFF#000000##FFFFFF
##731F931.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#164B91
Tritanopia (blue-blind)
#703A59
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731f93;
/* rgb */ color: rgb(115, 31, 147);
/* oklch */ color: oklch(43.1% 0.183 314.4);
Tailwind
colors: {
  custom: {
    50: '#9f65b3',
    500: '#731f93',
    950: '#000000',
  },
}
SCSS
$custom: #731f93;
$custom-light: #9f65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731f93",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 283.448,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.1826,
    "h": 314.4
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#731F93
secondary
#6EBE50
accent
#E8406E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731F93

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

Preview Lab → · Contrast checker → · Palette generator →

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