#731374#731374

#731374 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.168 H 327.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#731374
RGBrgb(115, 19, 116)
HSLhsl(299, 72%, 26%)
HSVhsv(299, 84%, 45%)
CMYKcmyk(0.9%, 83.6%, 0%, 54.5%)
CIE-LABlab(27.77, 50.91, -32.24)
CIE-LCHlch(27.77, 60.26, 327.65°)
OKLaboklab(39.97% 0.1416 -0.0895)
OKLCHoklch(39.97% 0.168 327.7)
XYZxyz(10.4553, 5.3723, 17.0059)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731374 #147413
analogous
#431374 #731374 #741345
triadic
#731374 #747313 #137473
tetradic
#731374 #744313 #147413 #134574
square
#731374 #744313 #147413 #134574
split-complementary
#731374 #457413 #137443
monochromatic
#1A041A #3F0A3F #731374 #A71CA9 #DA26DB

Accessibility & contrast

On white

10.12
#731374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#731374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731374
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731374#FFFFFF#000000##FFFFFF
##7313741.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#2F4672
Tritanopia (blue-blind)
#772544
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731374;
/* rgb */ color: rgb(115, 19, 116);
/* oklch */ color: oklch(40.0% 0.168 327.7);
Tailwind
colors: {
  custom: {
    50: '#9f5f9c',
    500: '#731374',
    950: '#000000',
  },
}
SCSS
$custom: #731374;
$custom-light: #9f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#731374",
  "rgb": {
    "r": 115,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 299.381,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39967,
    "c": 0.16755,
    "h": 327.7
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#731374
secondary
#3AAA38
accent
#EF393B
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731374

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

Preview Lab → · Contrast checker → · Palette generator →

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