#731AA0#731AA0

#731AA0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.7% C 0.199 H 310.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#731AA0
RGBrgb(115, 26, 160)
HSLhsl(280, 72%, 36%)
HSVhsv(280, 84%, 63%)
CMYKcmyk(28.1%, 83.8%, 0%, 37.3%)
CIE-LABlab(31.63, 57.39, -53.38)
CIE-LCHlch(31.63, 78.38, 317.07°)
OKLaboklab(43.68% 0.1289 -0.1516)
OKLCHoklch(43.68% 0.199 310.4)
XYZxyz(13.7835, 6.9220, 33.8609)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731AA0 #47A01A
analogous
#301AA0 #731AA0 #A01A8A
triadic
#731AA0 #A0731A #1AA073
tetradic
#731AA0 #A0301A #47A01A #1A8AA0
square
#731AA0 #A0301A #47A01A #1A8AA0
split-complementary
#731AA0 #8AA01A #1AA030
monochromatic
#270937 #4D116B #731AA0 #9923D5 #B252E3

Accessibility & contrast

On white

8.81
#731AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731AA0
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731AA0#FFFFFF#000000##FFFFFF
##731AA01.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#6D3E5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731aa0;
/* rgb */ color: rgb(115, 26, 160);
/* oklch */ color: oklch(43.7% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#a064bd',
    500: '#731aa0',
    950: '#000000',
  },
}
SCSS
$custom: #731aa0;
$custom-light: #a064bd;
$custom-dark: #000000;
JSON
{
  "hex": "#731aa0",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 279.851,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4368,
    "c": 0.19894,
    "h": 310.4
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#731AA0
secondary
#78C550
accent
#EF3976
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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