#731A94#731A94

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

Color values

HEX#731A94
RGBrgb(115, 26, 148)
HSLhsl(284, 70%, 34%)
HSVhsv(284, 82%, 58%)
CMYKcmyk(22.3%, 82.4%, 0%, 42%)
CIE-LABlab(30.69, 54.92, -47.57)
CIE-LCHlch(30.69, 72.66, 319.10°)
OKLaboklab(42.73% 0.1317 -0.1345)
OKLCHoklch(42.73% 0.188 314.4)
XYZxyz(12.7840, 6.5222, 28.5967)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A94 #3B941A
analogous
#361A94 #731A94 #941A78
triadic
#731A94 #94731A #1A9473
tetradic
#731A94 #94361A #3B941A #1A7894
square
#731A94 #94361A #3B941A #1A7894
split-complementary
#731A94 #78941A #1A9436
monochromatic
#22082C #4B1160 #731A94 #9B23C8 #B749DF

Accessibility & contrast

On white

9.11
#731A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731A94
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A94#FFFFFF#000000##FFFFFF
##731A941.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#0E4A92
Tritanopia (blue-blind)
#703858
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731a94;
/* rgb */ color: rgb(115, 26, 148);
/* oklch */ color: oklch(42.7% 0.188 314.4);
Tailwind
colors: {
  custom: {
    50: '#a063b4',
    500: '#731a94',
    950: '#000000',
  },
}
SCSS
$custom: #731a94;
$custom-light: #a063b4;
$custom-dark: #000000;
JSON
{
  "hex": "#731a94",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 283.77,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42734,
    "c": 0.18827,
    "h": 314.4
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#731A94
secondary
#69C149
accent
#ED3B6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731A94

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

Preview Lab → · Contrast checker → · Palette generator →

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