#731D68#731D68

#731D68 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.148 H 333.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#731D68
RGBrgb(115, 29, 104)
HSLhsl(308, 60%, 28%)
HSVhsv(308, 75%, 45%)
CMYKcmyk(0%, 74.8%, 9.6%, 54.9%)
CIE-LABlab(28.18, 45.69, -23.89)
CIE-LCHlch(28.18, 51.55, 332.40°)
OKLaboklab(40.03% 0.1323 -0.0654)
OKLCHoklch(40.03% 0.148 333.7)
XYZxyz(10.0084, 5.5239, 13.6331)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D68 #1D7328
analogous
#531D73 #731D68 #731D3D
triadic
#731D68 #68731D #1D6873
tetradic
#731D68 #73531D #1D7328 #1D3D73
square
#731D68 #73531D #1D7328 #1D3D73
split-complementary
#731D68 #3D731D #1D7353
monochromatic
#180616 #42113C #731D68 #A42994 #CE3CBB

Accessibility & contrast

On white

9.98
#731D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#731D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D68
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D68#FFFFFF#000000##FFFFFF
##731D681.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#3A4766
Tritanopia (blue-blind)
#792540
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731d68;
/* rgb */ color: rgb(115, 29, 104);
/* oklch */ color: oklch(40.0% 0.148 333.7);
Tailwind
colors: {
  custom: {
    50: '#9e6293',
    500: '#731d68',
    950: '#000000',
  },
}
SCSS
$custom: #731d68;
$custom-light: #9e6293;
$custom-dark: #000000;
JSON
{
  "hex": "#731d68",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 307.674,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.14757,
    "h": 333.7
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#731D68
secondary
#45A751
accent
#E35945
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #731D68

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

Preview Lab → · Contrast checker → · Palette generator →

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