#751977#751977

#751977 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.165 H 327.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#751977
RGBrgb(117, 25, 119)
HSLhsl(299, 65%, 28%)
HSVhsv(299, 79%, 47%)
CMYKcmyk(1.7%, 79%, 0%, 53.3%)
CIE-LABlab(28.93, 50.11, -32.28)
CIE-LCHlch(28.93, 59.61, 327.21°)
OKLaboklab(40.92% 0.1388 -0.0897)
OKLCHoklch(40.92% 0.165 327.1)
XYZxyz(11.0133, 5.8099, 17.9905)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751977 #1B7719
analogous
#461977 #751977 #77194A
triadic
#751977 #777519 #197775
tetradic
#751977 #774619 #1B7719 #194A77
square
#751977 #774619 #1B7719 #194A77
split-complementary
#751977 #4A7719 #197746
monochromatic
#190519 #430E44 #751977 #A724AA #D136D5

Accessibility & contrast

On white

9.71
#751977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#751977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751977
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751977#FFFFFF#000000##FFFFFF
##7519771.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#324875
Tritanopia (blue-blind)
#792947
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751977;
/* rgb */ color: rgb(117, 25, 119);
/* oklch */ color: oklch(40.9% 0.165 327.1);
Tailwind
colors: {
  custom: {
    50: '#a0629f',
    500: '#751977',
    950: '#000000',
  },
}
SCSS
$custom: #751977;
$custom-light: #a0629f;
$custom-dark: #000000;
JSON
{
  "hex": "#751977",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 298.723,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40919,
    "c": 0.16525,
    "h": 327.1
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#751977
secondary
#42AC40
accent
#E84043
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751977

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

Preview Lab → · Contrast checker → · Palette generator →

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