#731899#731899

#731899 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.194 H 312.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#731899
RGBrgb(115, 24, 153)
HSLhsl(282, 73%, 35%)
HSVhsv(282, 84%, 60%)
CMYKcmyk(24.8%, 84.3%, 0%, 40%)
CIE-LABlab(30.87, 56.53, -50.35)
CIE-LCHlch(30.87, 75.70, 318.31°)
OKLaboklab(42.98% 0.132 -0.1426)
OKLCHoklch(42.98% 0.194 312.8)
XYZxyz(13.1456, 6.5984, 30.7120)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731899 #3E9918
analogous
#331899 #731899 #99187E
triadic
#731899 #997318 #189973
tetradic
#731899 #993318 #3E9918 #187E99
square
#731899 #993318 #3E9918 #187E99
split-complementary
#731899 #7E9918 #189933
monochromatic
#23072F #4B1064 #731899 #9B20CE #B549E2

Accessibility & contrast

On white

9.05
#731899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#731899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731899
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731899#FFFFFF#000000##FFFFFF
##7318991.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#6F3A5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731899;
/* rgb */ color: rgb(115, 24, 153);
/* oklch */ color: oklch(43.0% 0.194 312.8);
Tailwind
colors: {
  custom: {
    50: '#a063b8',
    500: '#731899',
    950: '#000000',
  },
}
SCSS
$custom: #731899;
$custom-light: #a063b8;
$custom-dark: #000000;
JSON
{
  "hex": "#731899",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 282.326,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.19437,
    "h": 312.8
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#731899
secondary
#6DC449
accent
#F0386E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731899

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

Preview Lab → · Contrast checker → · Palette generator →

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