#731566#731566

#731566 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.155 H 334.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#731566
RGBrgb(115, 21, 102)
HSLhsl(308, 69%, 27%)
HSVhsv(308, 82%, 45%)
CMYKcmyk(0%, 81.7%, 11.3%, 54.9%)
CIE-LABlab(27.13, 48.03, -24.23)
CIE-LCHlch(27.13, 53.80, 333.23°)
OKLaboklab(39.25% 0.14 -0.0664)
OKLCHoklch(39.25% 0.155 334.6)
XYZxyz(9.7368, 5.1414, 13.0474)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731566 #157322
analogous
#511573 #731566 #731537
triadic
#731566 #667315 #156673
tetradic
#731566 #735115 #157322 #153773
square
#731566 #735115 #157322 #153773
split-complementary
#731566 #377315 #157351
monochromatic
#1A0517 #3F0C38 #731566 #A71E94 #D82AC0

Accessibility & contrast

On white

10.36
#731566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#731566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731566
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731566#FFFFFF#000000##FFFFFF
##7315661.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143768
Deuteranopia (green-blind)
#384564
Tritanopia (blue-blind)
#791E3D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731566;
/* rgb */ color: rgb(115, 21, 102);
/* oklch */ color: oklch(39.2% 0.155 334.6);
Tailwind
colors: {
  custom: {
    50: '#9f5f92',
    500: '#731566',
    950: '#000000',
  },
}
SCSS
$custom: #731566;
$custom-light: #9f5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#731566",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 308.298,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.15494,
    "h": 334.6
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#731566
secondary
#3BA94A
accent
#EC543C
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731566

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

Preview Lab → · Contrast checker → · Palette generator →

#731566 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva