#731889#731889

#731889 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.180 H 318.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#731889
RGBrgb(115, 24, 137)
HSLhsl(288, 70%, 32%)
HSVhsv(288, 82%, 54%)
CMYKcmyk(16.1%, 82.5%, 0%, 46.3%)
CIE-LABlab(29.68, 53.34, -42.42)
CIE-LCHlch(29.68, 68.15, 321.51°)
OKLaboklab(41.76% 0.1354 -0.1193)
OKLCHoklch(41.76% 0.18 318.6)
XYZxyz(11.9116, 6.1048, 24.2130)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731889 #2E8918
analogous
#3B1889 #731889 #891867
triadic
#731889 #897318 #188973
tetradic
#731889 #893B18 #2E8918 #186789
square
#731889 #893B18 #2E8918 #186789
split-complementary
#731889 #678918 #18893B
monochromatic
#1C0621 #470F55 #731889 #9F21BD #BE3EDD

Accessibility & contrast

On white

9.46
#731889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#731889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731889
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731889#FFFFFF#000000##FFFFFF
##7318891.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#723251
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731889;
/* rgb */ color: rgb(115, 24, 137);
/* oklch */ color: oklch(41.8% 0.180 318.6);
Tailwind
colors: {
  custom: {
    50: '#9f62ac',
    500: '#731889',
    950: '#000000',
  },
}
SCSS
$custom: #731889;
$custom-light: #9f62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#731889",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 288.319,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.18047,
    "h": 318.6
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#731889
secondary
#58BD40
accent
#ED3B5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731889

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

Preview Lab → · Contrast checker → · Palette generator →

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