#731896#731896

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

Color values

HEX#731896
RGBrgb(115, 24, 150)
HSLhsl(283, 72%, 34%)
HSVhsv(283, 84%, 59%)
CMYKcmyk(23.3%, 84%, 0%, 41.2%)
CIE-LABlab(30.64, 55.92, -48.89)
CIE-LCHlch(30.64, 74.27, 318.84°)
OKLaboklab(42.75% 0.1328 -0.1383)
OKLCHoklch(42.75% 0.192 313.8)
XYZxyz(12.9009, 6.5006, 29.4234)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731896 #3B9618
analogous
#341896 #731896 #96187A
triadic
#731896 #967318 #189673
tetradic
#731896 #963418 #3B9618 #187A96
square
#731896 #963418 #3B9618 #187A96
split-complementary
#731896 #7A9618 #189634
monochromatic
#22072C #4B1061 #731896 #9B20CB #B747E2

Accessibility & contrast

On white

9.13
#731896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#731896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731896
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731896#FFFFFF#000000##FFFFFF
##7318961.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731896;
/* rgb */ color: rgb(115, 24, 150);
/* oklch */ color: oklch(42.7% 0.192 313.8);
Tailwind
colors: {
  custom: {
    50: '#a063b6',
    500: '#731896',
    950: '#000000',
  },
}
SCSS
$custom: #731896;
$custom-light: #a063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731896",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 283.333,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.19174,
    "h": 313.8
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#731896
secondary
#69C347
accent
#EF396B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731896

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

Preview Lab → · Contrast checker → · Palette generator →

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