#731977#731977

#731977 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.164 H 326.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#731977
RGBrgb(115, 25, 119)
HSLhsl(297, 65%, 28%)
HSVhsv(297, 79%, 47%)
CMYKcmyk(3.4%, 79%, 0%, 53.3%)
CIE-LABlab(28.57, 49.66, -32.87)
CIE-LCHlch(28.57, 59.56, 326.50°)
OKLaboklab(40.6% 0.1365 -0.0914)
OKLCHoklch(40.6% 0.164 326.2)
XYZxyz(10.7474, 5.6728, 17.9781)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731977 #1D7719
analogous
#441977 #731977 #77194C
triadic
#731977 #777319 #197773
tetradic
#731977 #774419 #1D7719 #194C77
square
#731977 #774419 #1D7719 #194C77
split-complementary
#731977 #4C7719 #197744
monochromatic
#180519 #420E44 #731977 #A424AA #CE36D5

Accessibility & contrast

On white

9.84
#731977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#731977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731977
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731977#FFFFFF#000000##FFFFFF
##7319771.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#304775
Tritanopia (blue-blind)
#762A47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731977;
/* rgb */ color: rgb(115, 25, 119);
/* oklch */ color: oklch(40.6% 0.164 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f619f',
    500: '#731977',
    950: '#000000',
  },
}
SCSS
$custom: #731977;
$custom-light: #9f619f;
$custom-dark: #000000;
JSON
{
  "hex": "#731977",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 297.447,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40597,
    "c": 0.16429,
    "h": 326.2
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#731977
secondary
#45AC40
accent
#E84047
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731977

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

Preview Lab → · Contrast checker → · Palette generator →

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