#731B68#731B68

#731B68 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.150 H 333.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#731B68
RGBrgb(115, 27, 104)
HSLhsl(308, 62%, 28%)
HSVhsv(308, 77%, 45%)
CMYKcmyk(0%, 76.5%, 9.6%, 54.9%)
CIE-LABlab(27.92, 46.41, -24.29)
CIE-LCHlch(27.92, 52.38, 332.38°)
OKLaboklab(39.85% 0.1344 -0.0666)
OKLCHoklch(39.85% 0.15 333.7)
XYZxyz(9.9609, 5.4290, 13.6173)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B68 #1B7326
analogous
#521B73 #731B68 #731B3C
triadic
#731B68 #68731B #1B6873
tetradic
#731B68 #73521B #1B7326 #1B3C73
square
#731B68 #73521B #1B7326 #1B3C73
split-complementary
#731B68 #3C731B #1B7352
monochromatic
#190616 #410F3B #731B68 #A52795 #D038BD

Accessibility & contrast

On white

10.07
#731B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#731B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B68
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B68#FFFFFF#000000##FFFFFF
##731B681.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6A
Deuteranopia (green-blind)
#394666
Tritanopia (blue-blind)
#79233F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731b68;
/* rgb */ color: rgb(115, 27, 104);
/* oklch */ color: oklch(39.8% 0.150 333.7);
Tailwind
colors: {
  custom: {
    50: '#9e6193',
    500: '#731b68',
    950: '#000000',
  },
}
SCSS
$custom: #731b68;
$custom-light: #9e6193;
$custom-dark: #000000;
JSON
{
  "hex": "#731b68",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 307.5,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39848,
    "c": 0.14998,
    "h": 333.7
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#731B68
secondary
#42A84F
accent
#E55743
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #731B68

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

Preview Lab → · Contrast checker → · Palette generator →

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