#731996#731996

#731996 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.8% C 0.191 H 313.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#731996
RGBrgb(115, 25, 150)
HSLhsl(283, 71%, 34%)
HSVhsv(283, 83%, 59%)
CMYKcmyk(23.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(30.74, 55.62, -48.72)
CIE-LCHlch(30.74, 73.95, 318.78°)
OKLaboklab(42.82% 0.132 -0.1379)
OKLCHoklch(42.82% 0.191 313.8)
XYZxyz(12.9219, 6.5425, 29.4304)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731996 #3C9619
analogous
#351996 #731996 #96197B
triadic
#731996 #967319 #199673
tetradic
#731996 #963519 #3C9619 #197B96
square
#731996 #963519 #3C9619 #197B96
split-complementary
#731996 #7B9619 #199635
monochromatic
#23082D #4B1062 #731996 #9B22CA #B649E1

Accessibility & contrast

On white

9.10
#731996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#731996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731996
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731996#FFFFFF#000000##FFFFFF
##7319961.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#064A93
Tritanopia (blue-blind)
#6F3959
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731996;
/* rgb */ color: rgb(115, 25, 150);
/* oklch */ color: oklch(42.8% 0.191 313.8);
Tailwind
colors: {
  custom: {
    50: '#a063b6',
    500: '#731996',
    950: '#000000',
  },
}
SCSS
$custom: #731996;
$custom-light: #a063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731996",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 283.2,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.1909,
    "h": 313.8
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#731996
secondary
#6BC249
accent
#EE3A6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731996

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

Preview Lab → · Contrast checker → · Palette generator →

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