#731B97#731B97

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

Color values

HEX#731B97
RGBrgb(115, 27, 151)
HSLhsl(283, 70%, 35%)
HSVhsv(283, 82%, 59%)
CMYKcmyk(23.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(31.03, 55.22, -48.87)
CIE-LCHlch(31.03, 73.74, 318.49°)
OKLaboklab(43.04% 0.1303 -0.1383)
OKLCHoklch(43.04% 0.19 313.3)
XYZxyz(13.0471, 6.6635, 29.8711)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B97 #3F971B
analogous
#351B97 #731B97 #971B7D
triadic
#731B97 #97731B #1B9773
tetradic
#731B97 #97351B #3F971B #1B7D97
square
#731B97 #97351B #3F971B #1B7D97
split-complementary
#731B97 #7D971B #1B9735
monochromatic
#24082F #4B1263 #731B97 #9B24CB #B54DDF

Accessibility & contrast

On white

9.00
#731B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731B97
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B97#FFFFFF#000000##FFFFFF
##731B971.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#064B94
Tritanopia (blue-blind)
#6F3A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731b97;
/* rgb */ color: rgb(115, 27, 151);
/* oklch */ color: oklch(43.0% 0.190 313.3);
Tailwind
colors: {
  custom: {
    50: '#a064b6',
    500: '#731b97',
    950: '#000000',
  },
}
SCSS
$custom: #731b97;
$custom-light: #a064b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731b97",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 282.581,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.19004,
    "h": 313.3
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#731B97
secondary
#6EC14C
accent
#EC3B6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B97

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

Preview Lab → · Contrast checker → · Palette generator →

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