#731580#731580

#731580 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.176 H 322.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#731580
RGBrgb(115, 21, 128)
HSLhsl(293, 72%, 29%)
HSVhsv(293, 84%, 50%)
CMYKcmyk(10.2%, 83.6%, 0%, 49.8%)
CIE-LABlab(28.75, 52.50, -38.28)
CIE-LCHlch(28.75, 64.98, 323.90°)
OKLaboklab(40.91% 0.139 -0.1072)
OKLCHoklch(40.91% 0.176 322.4)
XYZxyz(11.2343, 5.7404, 20.9342)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731580 #228015
analogous
#3E1580 #731580 #801558
triadic
#731580 #807315 #158073
tetradic
#731580 #803E15 #228015 #155880
square
#731580 #803E15 #228015 #155880
split-complementary
#731580 #588015 #15803E
monochromatic
#18041A #440C4B #731580 #A21EB5 #C932DD

Accessibility & contrast

On white

9.78
#731580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#731580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731580
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731580#FFFFFF#000000##FFFFFF
##7315801.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#742C4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731580;
/* rgb */ color: rgb(115, 21, 128);
/* oklch */ color: oklch(40.9% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#9f60a5',
    500: '#731580',
    950: '#000000',
  },
}
SCSS
$custom: #731580;
$custom-light: #9f60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731580",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 292.71,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.17553,
    "h": 322.4
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#731580
secondary
#4BB53C
accent
#EF394F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #731580

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

Preview Lab → · Contrast checker → · Palette generator →

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