#731A8E#731A8E

#731A8E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.183 H 316.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#731A8E
RGBrgb(115, 26, 142)
HSLhsl(286, 69%, 33%)
HSVhsv(286, 82%, 56%)
CMYKcmyk(19%, 81.7%, 0%, 44.3%)
CIE-LABlab(30.25, 53.71, -44.60)
CIE-LCHlch(30.25, 69.81, 320.30°)
OKLaboklab(42.28% 0.1329 -0.1258)
OKLCHoklch(42.28% 0.183 316.6)
XYZxyz(12.3214, 6.3371, 26.1601)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A8E #358E1A
analogous
#391A8E #731A8E #8E1A6F
triadic
#731A8E #8E731A #1A8E73
tetradic
#731A8E #8E391A #358E1A #1A6F8E
square
#731A8E #8E391A #358E1A #1A6F8E
split-complementary
#731A8E #6F8E1A #1A8E39
monochromatic
#1F0727 #49115A #731A8E #9D23C2 #BA45DD

Accessibility & contrast

On white

9.26
#731A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#731A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A8E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A8E#FFFFFF#000000##FFFFFF
##731A8E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#713555
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731a8e;
/* rgb */ color: rgb(115, 26, 142);
/* oklch */ color: oklch(42.3% 0.183 316.6);
Tailwind
colors: {
  custom: {
    50: '#9f63b0',
    500: '#731a8e',
    950: '#000000',
  },
}
SCSS
$custom: #731a8e;
$custom-light: #9f63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#731a8e",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 286.034,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.18299,
    "h": 316.6
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#731A8E
secondary
#62BE45
accent
#EC3C65
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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