#731973#731973

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

Color values

HEX#731973
RGBrgb(115, 25, 115)
HSLhsl(300, 64%, 27%)
HSVhsv(300, 78%, 45%)
CMYKcmyk(0%, 78.3%, 0%, 54.9%)
CIE-LABlab(28.32, 48.96, -30.72)
CIE-LCHlch(28.32, 57.80, 327.89°)
OKLaboklab(40.34% 0.1366 -0.0852)
OKLCHoklch(40.34% 0.161 328.1)
XYZxyz(10.5122, 5.5787, 16.7394)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731973 #197319
analogous
#461973 #731973 #731946
triadic
#731973 #737319 #197373
tetradic
#731973 #734619 #197319 #194673
square
#731973 #734619 #197319 #194673
split-complementary
#731973 #467319 #197346
monochromatic
#190519 #410E41 #731973 #A524A5 #D334D3

Accessibility & contrast

On white

9.93
#731973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731973
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731973#FFFFFF#000000##FFFFFF
##7319731.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B75
Deuteranopia (green-blind)
#324771
Tritanopia (blue-blind)
#772845
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731973;
/* rgb */ color: rgb(115, 25, 115);
/* oklch */ color: oklch(40.3% 0.161 328.1);
Tailwind
colors: {
  custom: {
    50: '#9f619c',
    500: '#731973',
    950: '#000000',
  },
}
SCSS
$custom: #731973;
$custom-light: #9f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#731973",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.161,
    "h": 328.1
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#731973
secondary
#40A840
accent
#E74141
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731973

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

Preview Lab → · Contrast checker → · Palette generator →

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