#731A9F#731A9F

#731A9F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.198 H 310.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#731A9F
RGBrgb(115, 26, 159)
HSLhsl(280, 72%, 36%)
HSVhsv(280, 84%, 62%)
CMYKcmyk(27.7%, 83.6%, 0%, 37.6%)
CIE-LABlab(31.55, 57.18, -52.91)
CIE-LCHlch(31.55, 77.90, 317.23°)
OKLaboklab(43.6% 0.1291 -0.1502)
OKLCHoklch(43.6% 0.198 310.7)
XYZxyz(13.6964, 6.8872, 33.4020)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A9F #469F1A
analogous
#301A9F #731A9F #9F1A89
triadic
#731A9F #9F731A #1A9F73
tetradic
#731A9F #9F301A #469F1A #1A899F
square
#731A9F #9F301A #469F1A #1A899F
split-complementary
#731A9F #899F1A #1A9F30
monochromatic
#270936 #4D116A #731A9F #9923D4 #B251E3

Accessibility & contrast

On white

8.83
#731A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#731A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A9F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A9F#FFFFFF#000000##FFFFFF
##731A9F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6D3D5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731a9f;
/* rgb */ color: rgb(115, 26, 159);
/* oklch */ color: oklch(43.6% 0.198 310.7);
Tailwind
colors: {
  custom: {
    50: '#a064bc',
    500: '#731a9f',
    950: '#000000',
  },
}
SCSS
$custom: #731a9f;
$custom-light: #a064bc;
$custom-dark: #000000;
JSON
{
  "hex": "#731a9f",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 280.15,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.19805,
    "h": 310.7
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#731A9F
secondary
#77C550
accent
#EF3975
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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