#731A98#731A98

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

Color values

HEX#731A98
RGBrgb(115, 26, 152)
HSLhsl(282, 71%, 35%)
HSVhsv(282, 83%, 60%)
CMYKcmyk(24.3%, 82.9%, 0%, 40.4%)
CIE-LABlab(31.00, 55.73, -49.53)
CIE-LCHlch(31.00, 74.56, 318.37°)
OKLaboklab(43.04% 0.1309 -0.1403)
OKLCHoklch(43.04% 0.192 313)
XYZxyz(13.1061, 6.6510, 30.2931)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A98 #3F981A
analogous
#341A98 #731A98 #981A7E
triadic
#731A98 #98731A #1A9873
tetradic
#731A98 #98341A #3F981A #1A7E98
square
#731A98 #98341A #3F981A #1A7E98
split-complementary
#731A98 #7E981A #1A9834
monochromatic
#24082F #4B1164 #731A98 #9B23CC #B54CE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731A98#FFFFFF#000000##FFFFFF
##731A981.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)
#00459B
Deuteranopia (green-blind)
#014B95
Tritanopia (blue-blind)
#6F3A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731a98;
/* rgb */ color: rgb(115, 26, 152);
/* oklch */ color: oklch(43.0% 0.192 313.0);
Tailwind
colors: {
  custom: {
    50: '#a063b7',
    500: '#731a98',
    950: '#000000',
  },
}
SCSS
$custom: #731a98;
$custom-light: #a063b7;
$custom-dark: #000000;
JSON
{
  "hex": "#731a98",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 282.381,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43044,
    "c": 0.19181,
    "h": 313
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#731A98
secondary
#6EC24B
accent
#EE3A6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731A98

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

Preview Lab → · Contrast checker → · Palette generator →

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