#731D92#731D92

#731D92 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.184 H 314.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#731D92
RGBrgb(115, 29, 146)
HSLhsl(284, 67%, 34%)
HSVhsv(284, 80%, 57%)
CMYKcmyk(21.2%, 80.1%, 0%, 42.7%)
CIE-LABlab(30.88, 53.54, -46.05)
CIE-LCHlch(30.88, 70.62, 319.30°)
OKLaboklab(42.82% 0.1297 -0.13)
OKLCHoklch(42.82% 0.184 314.9)
XYZxyz(12.6970, 6.5994, 27.7935)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D92 #3C921D
analogous
#391D92 #731D92 #921D77
triadic
#731D92 #92731D #1D9273
tetradic
#731D92 #92391D #3C921D #1D7792
square
#731D92 #92391D #3C921D #1D7792
split-complementary
#731D92 #77921D #1D9239
monochromatic
#23092C #4B135F #731D92 #9B27C5 #B64EDC

Accessibility & contrast

On white

9.05
#731D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#731D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D92
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D92#FFFFFF#000000##FFFFFF
##731D921.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#164B90
Tritanopia (blue-blind)
#703958
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731d92;
/* rgb */ color: rgb(115, 29, 146);
/* oklch */ color: oklch(42.8% 0.184 314.9);
Tailwind
colors: {
  custom: {
    50: '#9f64b3',
    500: '#731d92',
    950: '#000000',
  },
}
SCSS
$custom: #731d92;
$custom-light: #9f64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731d92",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 284.103,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.18369,
    "h": 314.9
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#731D92
secondary
#6BBE4C
accent
#EA3E6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731D92

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

Preview Lab → · Contrast checker → · Palette generator →

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