#731B6E#731B6E

#731B6E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.155 H 330.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#731B6E
RGBrgb(115, 27, 110)
HSLhsl(303, 62%, 28%)
HSVhsv(303, 77%, 45%)
CMYKcmyk(0%, 76.5%, 4.3%, 54.9%)
CIE-LABlab(28.26, 47.42, -27.62)
CIE-LCHlch(28.26, 54.87, 329.78°)
OKLaboklab(40.2% 0.1347 -0.0762)
OKLCHoklch(40.2% 0.155 330.5)
XYZxyz(10.2766, 5.5553, 15.2799)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B6E #1B7320
analogous
#4C1B73 #731B6E #731B42
triadic
#731B6E #6E731B #1B6E73
tetradic
#731B6E #734C1B #1B7320 #1B4273
square
#731B6E #734C1B #1B7320 #1B4273
split-complementary
#731B6E #42731B #1B734C
monochromatic
#190618 #410F3F #731B6E #A5279D #D038C8

Accessibility & contrast

On white

9.95
#731B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#731B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B6E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B6E#FFFFFF#000000##FFFFFF
##731B6E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#36476C
Tritanopia (blue-blind)
#782643
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731b6e;
/* rgb */ color: rgb(115, 27, 110);
/* oklch */ color: oklch(40.2% 0.155 330.5);
Tailwind
colors: {
  custom: {
    50: '#9e6298',
    500: '#731b6e',
    950: '#000000',
  },
}
SCSS
$custom: #731b6e;
$custom-light: #9e6298;
$custom-dark: #000000;
JSON
{
  "hex": "#731b6e",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 303.409,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.402,
    "c": 0.15474,
    "h": 330.5
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#731B6E
secondary
#42A848
accent
#E54C43
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #731B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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