#751F80#751F80

#751F80 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.166 H 322.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#751F80
RGBrgb(117, 31, 128)
HSLhsl(293, 61%, 31%)
HSVhsv(293, 76%, 50%)
CMYKcmyk(8.6%, 75.8%, 0%, 49.8%)
CIE-LABlab(30.21, 49.71, -35.92)
CIE-LCHlch(30.21, 61.33, 324.15°)
OKLaboklab(42.01% 0.1327 -0.1003)
OKLCHoklch(42.01% 0.166 322.9)
XYZxyz(11.7220, 6.3211, 21.0206)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F80 #2A801F
analogous
#441F80 #751F80 #801F5A
triadic
#751F80 #80751F #1F8075
tetradic
#751F80 #80441F #2A801F #1F5A80
square
#751F80 #80441F #2A801F #1F5A80
split-complementary
#751F80 #5A801F #1F8044
monochromatic
#1B071D #48134F #751F80 #A22BB1 #C347D2

Accessibility & contrast

On white

9.28
#751F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#751F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F80
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F80#FFFFFF#000000##FFFFFF
##751F801.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#2F4A7E
Tritanopia (blue-blind)
#77314E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751f80;
/* rgb */ color: rgb(117, 31, 128);
/* oklch */ color: oklch(42.0% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#a064a5',
    500: '#751f80',
    950: '#000000',
  },
}
SCSS
$custom: #751f80;
$custom-light: #a064a5;
$custom-dark: #000000;
JSON
{
  "hex": "#751f80",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 293.196,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.16635,
    "h": 322.9
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#751F80
secondary
#54B348
accent
#E44456
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751F80

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

Preview Lab → · Contrast checker → · Palette generator →

#751F80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva