#731B70#731B70

#731B70 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.156 H 329.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#731B70
RGBrgb(115, 27, 112)
HSLhsl(302, 62%, 28%)
HSVhsv(302, 77%, 45%)
CMYKcmyk(0%, 76.5%, 2.6%, 54.9%)
CIE-LABlab(28.38, 47.76, -28.72)
CIE-LCHlch(28.38, 55.73, 328.98°)
OKLaboklab(40.32% 0.1347 -0.0794)
OKLCHoklch(40.32% 0.156 329.5)
XYZxyz(10.3867, 5.5993, 15.8598)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B70 #1B731E
analogous
#4A1B73 #731B70 #731B44
triadic
#731B70 #70731B #1B7073
tetradic
#731B70 #734A1B #1B731E #1B4473
square
#731B70 #734A1B #1B731E #1B4473
split-complementary
#731B70 #44731B #1B734A
monochromatic
#190618 #410F40 #731B70 #A527A0 #D038CB

Accessibility & contrast

On white

9.91
#731B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B70
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B70#FFFFFF#000000##FFFFFF
##731B701.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B72
Deuteranopia (green-blind)
#35476E
Tritanopia (blue-blind)
#772744
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731b70;
/* rgb */ color: rgb(115, 27, 112);
/* oklch */ color: oklch(40.3% 0.156 329.5);
Tailwind
colors: {
  custom: {
    50: '#9e6299',
    500: '#731b70',
    950: '#000000',
  },
}
SCSS
$custom: #731b70;
$custom-light: #9e6299;
$custom-dark: #000000;
JSON
{
  "hex": "#731b70",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 302.045,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40321,
    "c": 0.15637,
    "h": 329.5
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#731B70
secondary
#42A846
accent
#E54843
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731B70

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

Preview Lab → · Contrast checker → · Palette generator →

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