#731E93#731E93

#731E93 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.184 H 314.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#731E93
RGBrgb(115, 30, 147)
HSLhsl(284, 66%, 35%)
HSVhsv(284, 80%, 58%)
CMYKcmyk(21.8%, 79.6%, 0%, 42.4%)
CIE-LABlab(31.07, 53.41, -46.35)
CIE-LCHlch(31.07, 70.72, 319.05°)
OKLaboklab(42.97% 0.1287 -0.1309)
OKLCHoklch(42.97% 0.184 314.5)
XYZxyz(12.8001, 6.6804, 28.2133)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E93 #3E931E
analogous
#391E93 #731E93 #931E79
triadic
#731E93 #93731E #1E9373
tetradic
#731E93 #93391E #3E931E #1E7993
square
#731E93 #93391E #3E931E #1E7993
split-complementary
#731E93 #79931E #1E9339
monochromatic
#23092D #4B1460 #731E93 #9B28C6 #B550DB

Accessibility & contrast

On white

8.99
#731E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#731E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E93
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E93#FFFFFF#000000##FFFFFF
##731E931.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731e93;
/* rgb */ color: rgb(115, 30, 147);
/* oklch */ color: oklch(43.0% 0.184 314.5);
Tailwind
colors: {
  custom: {
    50: '#9f65b3',
    500: '#731e93',
    950: '#000000',
  },
}
SCSS
$custom: #731e93;
$custom-light: #9f65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731e93",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 283.59,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.1836,
    "h": 314.5
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#731E93
secondary
#6DBE4F
accent
#E93F6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E93

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

Preview Lab → · Contrast checker → · Palette generator →

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