#731A93#731A93

#731A93 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.187 H 314.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#731A93
RGBrgb(115, 26, 147)
HSLhsl(284, 70%, 34%)
HSVhsv(284, 82%, 58%)
CMYKcmyk(21.8%, 82.3%, 0%, 42.4%)
CIE-LABlab(30.62, 54.71, -47.08)
CIE-LCHlch(30.62, 72.18, 319.29°)
OKLaboklab(42.66% 0.132 -0.133)
OKLCHoklch(42.66% 0.187 314.8)
XYZxyz(12.7052, 6.4907, 28.1817)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A93 #3A931A
analogous
#371A93 #731A93 #931A77
triadic
#731A93 #93731A #1A9373
tetradic
#731A93 #93371A #3A931A #1A7793
square
#731A93 #93371A #3A931A #1A7793
split-complementary
#731A93 #77931A #1A9337
monochromatic
#22082B #4A115F #731A93 #9C23C7 #B749DF

Accessibility & contrast

On white

9.14
#731A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#731A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A93
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A93#FFFFFF#000000##FFFFFF
##731A931.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#104A91
Tritanopia (blue-blind)
#703858
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731a93;
/* rgb */ color: rgb(115, 26, 147);
/* oklch */ color: oklch(42.7% 0.187 314.8);
Tailwind
colors: {
  custom: {
    50: '#a063b3',
    500: '#731a93',
    950: '#000000',
  },
}
SCSS
$custom: #731a93;
$custom-light: #a063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731a93",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 284.132,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.18738,
    "h": 314.8
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#731A93
secondary
#68C048
accent
#ED3B6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731A93

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

Preview Lab → · Contrast checker → · Palette generator →

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