#731B6F#731B6F

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

Color values

HEX#731B6F
RGBrgb(115, 27, 111)
HSLhsl(303, 62%, 28%)
HSVhsv(303, 77%, 45%)
CMYKcmyk(0%, 76.5%, 3.5%, 54.9%)
CIE-LABlab(28.32, 47.59, -28.17)
CIE-LCHlch(28.32, 55.30, 329.38°)
OKLaboklab(40.26% 0.1347 -0.0778)
OKLCHoklch(40.26% 0.156 330)
XYZxyz(10.3314, 5.5772, 15.5682)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B6F #1B731F
analogous
#4B1B73 #731B6F #731B43
triadic
#731B6F #6F731B #1B6F73
tetradic
#731B6F #734B1B #1B731F #1B4373
square
#731B6F #734B1B #1B731F #1B4373
split-complementary
#731B6F #43731B #1B734B
monochromatic
#190618 #410F3F #731B6F #A5279F #D038C9

Accessibility & contrast

On white

9.93
#731B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731B6F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B6F#FFFFFF#000000##FFFFFF
##731B6F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#772743
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731b6f;
/* rgb */ color: rgb(115, 27, 111);
/* oklch */ color: oklch(40.3% 0.156 330.0);
Tailwind
colors: {
  custom: {
    50: '#9e6299',
    500: '#731b6f',
    950: '#000000',
  },
}
SCSS
$custom: #731b6f;
$custom-light: #9e6299;
$custom-dark: #000000;
JSON
{
  "hex": "#731b6f",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 302.727,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.15555,
    "h": 330
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#731B6F
secondary
#42A847
accent
#E54A43
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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