#731B94#731B94

#731B94 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 314.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#731B94
RGBrgb(115, 27, 148)
HSLhsl(284, 69%, 34%)
HSVhsv(284, 82%, 58%)
CMYKcmyk(22.3%, 81.8%, 0%, 42%)
CIE-LABlab(30.80, 54.60, -47.40)
CIE-LCHlch(30.80, 72.31, 319.04°)
OKLaboklab(42.81% 0.131 -0.134)
OKLCHoklch(42.81% 0.187 314.3)
XYZxyz(12.8065, 6.5673, 28.6042)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B94 #3C941B
analogous
#361B94 #731B94 #941B79
triadic
#731B94 #94731B #1B9473
tetradic
#731B94 #94361B #3C941B #1B7994
square
#731B94 #94361B #3C941B #1B7994
split-complementary
#731B94 #79941B #1B9436
monochromatic
#23082C #4B1260 #731B94 #9B24C8 #B64BDE

Accessibility & contrast

On white

9.08
#731B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#731B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B94
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B94#FFFFFF#000000##FFFFFF
##731B941.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731b94;
/* rgb */ color: rgb(115, 27, 148);
/* oklch */ color: oklch(42.8% 0.187 314.3);
Tailwind
colors: {
  custom: {
    50: '#a063b4',
    500: '#731b94',
    950: '#000000',
  },
}
SCSS
$custom: #731b94;
$custom-light: #a063b4;
$custom-dark: #000000;
JSON
{
  "hex": "#731b94",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 283.636,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.18737,
    "h": 314.3
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#731B94
secondary
#6BC04B
accent
#EC3C6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B94

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

Preview Lab → · Contrast checker → · Palette generator →

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