#731780#731780

#731780 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.174 H 322.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#731780
RGBrgb(115, 23, 128)
HSLhsl(293, 70%, 30%)
HSVhsv(293, 82%, 50%)
CMYKcmyk(10.2%, 82%, 0%, 49.8%)
CIE-LABlab(28.95, 51.93, -37.96)
CIE-LCHlch(28.95, 64.32, 323.83°)
OKLaboklab(41.05% 0.1374 -0.1063)
OKLCHoklch(41.05% 0.174 322.3)
XYZxyz(11.2725, 5.8168, 20.9469)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731780 #248017
analogous
#3E1780 #731780 #801759
triadic
#731780 #807317 #178073
tetradic
#731780 #803E17 #248017 #175980
square
#731780 #803E17 #248017 #175980
split-complementary
#731780 #598017 #17803E
monochromatic
#17051A #440E4C #731780 #A220B4 #C736DB

Accessibility & contrast

On white

9.71
#731780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#731780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731780
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731780#FFFFFF#000000##FFFFFF
##7317801.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#742D4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731780;
/* rgb */ color: rgb(115, 23, 128);
/* oklch */ color: oklch(41.0% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#9f61a5',
    500: '#731780',
    950: '#000000',
  },
}
SCSS
$custom: #731780;
$custom-light: #9f61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731780",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 292.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.17374,
    "h": 322.3
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#731780
secondary
#4DB43E
accent
#EC3B51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731780

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

Preview Lab → · Contrast checker → · Palette generator →

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