#731990#731990

#731990 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.186 H 315.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#731990
RGBrgb(115, 25, 144)
HSLhsl(285, 70%, 33%)
HSVhsv(285, 83%, 56%)
CMYKcmyk(20.1%, 82.6%, 0%, 43.5%)
CIE-LABlab(30.29, 54.42, -45.77)
CIE-LCHlch(30.29, 71.10, 319.93°)
OKLaboklab(42.36% 0.1333 -0.1292)
OKLCHoklch(42.36% 0.186 315.9)
XYZxyz(12.4511, 6.3542, 26.9508)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731990 #369019
analogous
#371990 #731990 #901971
triadic
#731990 #907319 #199073
tetradic
#731990 #903719 #369019 #197190
square
#731990 #903719 #369019 #197190
split-complementary
#731990 #719019 #199037
monochromatic
#200728 #49105C #731990 #9D22C4 #B945DF

Accessibility & contrast

On white

9.25
#731990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#731990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731990
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731990#FFFFFF#000000##FFFFFF
##7319901.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#164A8E
Tritanopia (blue-blind)
#713656
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731990;
/* rgb */ color: rgb(115, 25, 144);
/* oklch */ color: oklch(42.4% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#a063b1',
    500: '#731990',
    950: '#000000',
  },
}
SCSS
$custom: #731990;
$custom-light: #a063b1;
$custom-dark: #000000;
JSON
{
  "hex": "#731990",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 285.378,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.18564,
    "h": 315.9
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#731990
secondary
#63C045
accent
#ED3B66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731990

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

Preview Lab → · Contrast checker → · Palette generator →

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