#731564#731564

#731564 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.153 H 335.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#731564
RGBrgb(115, 21, 100)
HSLhsl(310, 69%, 27%)
HSVhsv(310, 82%, 45%)
CMYKcmyk(0%, 81.7%, 13%, 54.9%)
CIE-LABlab(27.02, 47.72, -23.10)
CIE-LCHlch(27.02, 53.02, 334.16°)
OKLaboklab(39.13% 0.1399 -0.0631)
OKLCHoklch(39.13% 0.153 335.7)
XYZxyz(9.6388, 5.1022, 12.5313)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731564 #157324
analogous
#531573 #731564 #731535
triadic
#731564 #647315 #156473
tetradic
#731564 #735315 #157324 #153573
square
#731564 #735315 #157324 #153573
split-complementary
#731564 #357315 #157353
monochromatic
#1A0517 #3F0C37 #731564 #A71E91 #D82ABC

Accessibility & contrast

On white

10.40
#731564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#731564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731564
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731564#FFFFFF#000000##FFFFFF
##7315641.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163766
Deuteranopia (green-blind)
#394562
Tritanopia (blue-blind)
#791D3C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731564;
/* rgb */ color: rgb(115, 21, 100);
/* oklch */ color: oklch(39.1% 0.153 335.7);
Tailwind
colors: {
  custom: {
    50: '#9f5f90',
    500: '#731564',
    950: '#000000',
  },
}
SCSS
$custom: #731564;
$custom-light: #9f5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#731564",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 309.574,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39131,
    "c": 0.15345,
    "h": 335.7
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#731564
secondary
#3BA94C
accent
#EC583C
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #731564

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

Preview Lab → · Contrast checker → · Palette generator →

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