#731574#731574

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

Color values

HEX#731574
RGBrgb(115, 21, 116)
HSLhsl(299, 69%, 27%)
HSVhsv(299, 82%, 45%)
CMYKcmyk(0.9%, 81.9%, 0%, 54.5%)
CIE-LABlab(27.96, 50.35, -31.94)
CIE-LCHlch(27.96, 59.63, 327.62°)
OKLaboklab(40.1% 0.1401 -0.0887)
OKLCHoklch(40.1% 0.166 327.7)
XYZxyz(10.4906, 5.4429, 17.0177)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731574 #167415
analogous
#431574 #731574 #741546
triadic
#731574 #747315 #157473
tetradic
#731574 #744315 #167415 #154674
square
#731574 #744315 #167415 #154674
split-complementary
#731574 #467415 #157443
monochromatic
#1A051A #400C40 #731574 #A61EA8 #D72BD9

Accessibility & contrast

On white

10.06
#731574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#731574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731574
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731574#FFFFFF#000000##FFFFFF
##7315741.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#772645
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731574;
/* rgb */ color: rgb(115, 21, 116);
/* oklch */ color: oklch(40.1% 0.166 327.7);
Tailwind
colors: {
  custom: {
    50: '#9f609c',
    500: '#731574',
    950: '#000000',
  },
}
SCSS
$custom: #731574;
$custom-light: #9f609c;
$custom-dark: #000000;
JSON
{
  "hex": "#731574",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 299.368,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.16577,
    "h": 327.7
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#731574
secondary
#3CAA3B
accent
#EC3C3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731574

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

Preview Lab → · Contrast checker → · Palette generator →

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