#731785#731785

#731785 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.178 H 320.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#731785
RGBrgb(115, 23, 133)
HSLhsl(290, 71%, 31%)
HSVhsv(290, 83%, 52%)
CMYKcmyk(13.5%, 82.7%, 0%, 47.8%)
CIE-LABlab(29.29, 52.87, -40.54)
CIE-LCHlch(29.29, 66.62, 322.51°)
OKLaboklab(41.4% 0.1368 -0.1138)
OKLCHoklch(41.4% 0.178 320.2)
XYZxyz(11.6097, 5.9517, 22.7230)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731785 #298517
analogous
#3C1785 #731785 #851760
triadic
#731785 #857317 #178573
tetradic
#731785 #853C17 #298517 #176085
square
#731785 #853C17 #298517 #176085
split-complementary
#731785 #608517 #17853C
monochromatic
#19051D #460E51 #731785 #A020B9 #C23ADD

Accessibility & contrast

On white

9.59
#731785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#731785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731785
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731785#FFFFFF#000000##FFFFFF
##7317851.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#234883
Tritanopia (blue-blind)
#73304F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731785;
/* rgb */ color: rgb(115, 23, 133);
/* oklch */ color: oklch(41.4% 0.178 320.2);
Tailwind
colors: {
  custom: {
    50: '#9f61a9',
    500: '#731785',
    950: '#000000',
  },
}
SCSS
$custom: #731785;
$custom-light: #9f61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#731785",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 290.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.17795,
    "h": 320.2
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#731785
secondary
#53B93F
accent
#ED3B58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731785

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

Preview Lab → · Contrast checker → · Palette generator →

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