#731774#731774

#731774 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.164 H 327.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#731774
RGBrgb(115, 23, 116)
HSLhsl(299, 67%, 27%)
HSVhsv(299, 80%, 45%)
CMYKcmyk(0.9%, 80.2%, 0%, 54.5%)
CIE-LABlab(28.17, 49.76, -31.61)
CIE-LCHlch(28.17, 58.95, 327.58°)
OKLaboklab(40.25% 0.1384 -0.0877)
OKLCHoklch(40.25% 0.164 327.6)
XYZxyz(10.5289, 5.5194, 17.0304)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731774 #187417
analogous
#451774 #731774 #741746
triadic
#731774 #747317 #177473
tetradic
#731774 #744517 #187417 #174674
square
#731774 #744517 #187417 #174674
split-complementary
#731774 #467417 #177445
monochromatic
#19051A #400D41 #731774 #A621A7 #D430D6

Accessibility & contrast

On white

9.98
#731774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#731774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731774
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731774#FFFFFF#000000##FFFFFF
##7317741.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#314672
Tritanopia (blue-blind)
#772745
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731774;
/* rgb */ color: rgb(115, 23, 116);
/* oklch */ color: oklch(40.2% 0.164 327.6);
Tailwind
colors: {
  custom: {
    50: '#9f609c',
    500: '#731774',
    950: '#000000',
  },
}
SCSS
$custom: #731774;
$custom-light: #9f609c;
$custom-dark: #000000;
JSON
{
  "hex": "#731774",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 299.355,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.16385,
    "h": 327.6
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#731774
secondary
#3FA93D
accent
#EA3E40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731774

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

Preview Lab → · Contrast checker → · Palette generator →

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