#731E92#731E92

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

Color values

HEX#731E92
RGBrgb(115, 30, 146)
HSLhsl(284, 66%, 35%)
HSVhsv(284, 79%, 57%)
CMYKcmyk(21.2%, 79.5%, 0%, 42.7%)
CIE-LABlab(30.99, 53.20, -45.86)
CIE-LCHlch(30.99, 70.24, 319.24°)
OKLaboklab(42.9% 0.1289 -0.1295)
OKLCHoklch(42.9% 0.183 314.9)
XYZxyz(12.7220, 6.6492, 27.8018)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E92 #3D921E
analogous
#391E92 #731E92 #921E77
triadic
#731E92 #92731E #1E9273
tetradic
#731E92 #92391E #3D921E #1E7792
square
#731E92 #92391E #3D921E #1E7792
split-complementary
#731E92 #77921E #1E9239
monochromatic
#23092C #4B145F #731E92 #9B28C5 #B64FDB

Accessibility & contrast

On white

9.01
#731E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#731E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E92
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E92#FFFFFF#000000##FFFFFF
##731E921.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731e92;
/* rgb */ color: rgb(115, 30, 146);
/* oklch */ color: oklch(42.9% 0.183 314.9);
Tailwind
colors: {
  custom: {
    50: '#9f65b3',
    500: '#731e92',
    950: '#000000',
  },
}
SCSS
$custom: #731e92;
$custom-light: #9f65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731e92",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 283.966,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42899,
    "c": 0.1827,
    "h": 314.9
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#731E92
secondary
#6CBE4E
accent
#E93F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E92

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

Preview Lab → · Contrast checker → · Palette generator →

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