#731796#731796

#731796 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.193 H 313.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#731796
RGBrgb(115, 23, 150)
HSLhsl(283, 73%, 34%)
HSVhsv(283, 85%, 59%)
CMYKcmyk(23.3%, 84.7%, 0%, 41.2%)
CIE-LABlab(30.54, 56.20, -49.04)
CIE-LCHlch(30.54, 74.59, 318.89°)
OKLaboklab(42.68% 0.1335 -0.1388)
OKLCHoklch(42.68% 0.193 313.9)
XYZxyz(12.8807, 6.4601, 29.4167)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731796 #3A9617
analogous
#341796 #731796 #96177A
triadic
#731796 #967317 #179673
tetradic
#731796 #963417 #3A9617 #177A96
square
#731796 #963417 #3A9617 #177A96
split-complementary
#731796 #7A9617 #179634
monochromatic
#22072C #4A0F61 #731796 #9C1FCB #B745E2

Accessibility & contrast

On white

9.16
#731796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#731796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731796
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731796#FFFFFF#000000##FFFFFF
##7317961.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#034A93
Tritanopia (blue-blind)
#6F3859
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731796;
/* rgb */ color: rgb(115, 23, 150);
/* oklch */ color: oklch(42.7% 0.193 313.9);
Tailwind
colors: {
  custom: {
    50: '#a062b6',
    500: '#731796',
    950: '#000000',
  },
}
SCSS
$custom: #731796;
$custom-light: #a062b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731796",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 283.465,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42678,
    "c": 0.19255,
    "h": 313.9
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#731796
secondary
#68C345
accent
#F0386B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731796

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

Preview Lab → · Contrast checker → · Palette generator →

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