#731579#731579

#731579 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 325.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#731579
RGBrgb(115, 21, 121)
HSLhsl(296, 70%, 28%)
HSVhsv(296, 83%, 47%)
CMYKcmyk(5%, 82.6%, 0%, 52.5%)
CIE-LABlab(28.28, 51.23, -34.61)
CIE-LCHlch(28.28, 61.83, 325.96°)
OKLaboklab(40.43% 0.1397 -0.0965)
OKLCHoklch(40.43% 0.17 325.4)
XYZxyz(10.7893, 5.5624, 18.5908)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731579 #1B7915
analogous
#411579 #731579 #79154D
triadic
#731579 #797315 #157973
tetradic
#731579 #794115 #1B7915 #154D79
square
#731579 #794115 #1B7915 #154D79
split-complementary
#731579 #4D7915 #157941
monochromatic
#19051A #410C45 #731579 #A51EAD #D02EDB

Accessibility & contrast

On white

9.94
#731579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#731579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731579
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731579#FFFFFF#000000##FFFFFF
##7315791.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#762948
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731579;
/* rgb */ color: rgb(115, 21, 121);
/* oklch */ color: oklch(40.4% 0.170 325.4);
Tailwind
colors: {
  custom: {
    50: '#9f60a0',
    500: '#731579',
    950: '#000000',
  },
}
SCSS
$custom: #731579;
$custom-light: #9f60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#731579",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 296.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40431,
    "c": 0.1698,
    "h": 325.4
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#731579
secondary
#42AF3B
accent
#ED3B45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #731579

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

Preview Lab → · Contrast checker → · Palette generator →

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