#731874#731874

#731874 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.163 H 327.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#731874
RGBrgb(115, 24, 116)
HSLhsl(299, 66%, 27%)
HSVhsv(299, 79%, 45%)
CMYKcmyk(0.9%, 79.3%, 0%, 54.5%)
CIE-LABlab(28.27, 49.45, -31.44)
CIE-LCHlch(28.27, 58.60, 327.55°)
OKLaboklab(40.32% 0.1375 -0.0872)
OKLCHoklch(40.32% 0.163 327.6)
XYZxyz(10.5491, 5.5598, 17.0371)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731874 #197418
analogous
#451874 #731874 #741847
triadic
#731874 #747318 #187473
tetradic
#731874 #744518 #197418 #184774
square
#731874 #744518 #197418 #184774
split-complementary
#731874 #477418 #187445
monochromatic
#190519 #410E41 #731874 #A522A7 #D332D5

Accessibility & contrast

On white

9.94
#731874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#731874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731874
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731874#FFFFFF#000000##FFFFFF
##7318741.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#314772
Tritanopia (blue-blind)
#772845
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731874;
/* rgb */ color: rgb(115, 24, 116);
/* oklch */ color: oklch(40.3% 0.163 327.6);
Tailwind
colors: {
  custom: {
    50: '#9f619c',
    500: '#731874',
    950: '#000000',
  },
}
SCSS
$custom: #731874;
$custom-light: #9f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#731874",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 299.348,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40324,
    "c": 0.16285,
    "h": 327.6
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#731874
secondary
#40A93F
accent
#E93F41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731874

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

Preview Lab → · Contrast checker → · Palette generator →

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