#731994#731994

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

Color values

HEX#731994
RGBrgb(115, 25, 148)
HSLhsl(284, 71%, 34%)
HSVhsv(284, 83%, 58%)
CMYKcmyk(22.3%, 83.1%, 0%, 42%)
CIE-LABlab(30.59, 55.22, -47.74)
CIE-LCHlch(30.59, 73.00, 319.15°)
OKLaboklab(42.66% 0.1325 -0.135)
OKLCHoklch(42.66% 0.189 314.5)
XYZxyz(12.7623, 6.4787, 28.5895)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731994 #3A9419
analogous
#351994 #731994 #941978
triadic
#731994 #947319 #199473
tetradic
#731994 #943519 #3A9419 #197894
square
#731994 #943519 #3A9419 #197894
split-complementary
#731994 #789419 #199435
monochromatic
#22072B #4A1060 #731994 #9C22C8 #B747E0

Accessibility & contrast

On white

9.15
#731994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731994
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731994#FFFFFF#000000##FFFFFF
##7319941.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#0C4A92
Tritanopia (blue-blind)
#703858
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731994;
/* rgb */ color: rgb(115, 25, 148);
/* oklch */ color: oklch(42.7% 0.189 314.5);
Tailwind
colors: {
  custom: {
    50: '#a063b4',
    500: '#731994',
    950: '#000000',
  },
}
SCSS
$custom: #731994;
$custom-light: #a063b4;
$custom-dark: #000000;
JSON
{
  "hex": "#731994",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 283.902,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.18915,
    "h": 314.5
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#731994
secondary
#68C147
accent
#EE3A6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731994

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

Preview Lab → · Contrast checker → · Palette generator →

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