#731B93#731B93

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

Color values

HEX#731B93
RGBrgb(115, 27, 147)
HSLhsl(284, 69%, 34%)
HSVhsv(284, 82%, 58%)
CMYKcmyk(21.8%, 81.6%, 0%, 42.4%)
CIE-LABlab(30.73, 54.40, -46.91)
CIE-LCHlch(30.73, 71.83, 319.23°)
OKLaboklab(42.73% 0.1312 -0.1325)
OKLCHoklch(42.73% 0.186 314.7)
XYZxyz(12.7277, 6.5358, 28.1892)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B93 #3B931B
analogous
#371B93 #731B93 #931B77
triadic
#731B93 #93731B #1B9373
tetradic
#731B93 #93371B #3B931B #1B7793
square
#731B93 #93371B #3B931B #1B7793
split-complementary
#731B93 #77931B #1B9337
monochromatic
#22082C #4B125F #731B93 #9B24C7 #B74BDE

Accessibility & contrast

On white

9.10
#731B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731B93
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B93#FFFFFF#000000##FFFFFF
##731B931.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731b93;
/* rgb */ color: rgb(115, 27, 147);
/* oklch */ color: oklch(42.7% 0.186 314.7);
Tailwind
colors: {
  custom: {
    50: '#a063b3',
    500: '#731b93',
    950: '#000000',
  },
}
SCSS
$custom: #731b93;
$custom-light: #a063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731b93",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 284,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.18648,
    "h": 314.7
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#731B93
secondary
#69C04A
accent
#EC3C6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B93

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

Preview Lab → · Contrast checker → · Palette generator →

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