#751F79#751F79

#751F79 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.160 H 326.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#751F79
RGBrgb(117, 31, 121)
HSLhsl(297, 59%, 30%)
HSVhsv(297, 74%, 47%)
CMYKcmyk(3.3%, 74.4%, 0%, 52.5%)
CIE-LABlab(29.77, 48.40, -32.21)
CIE-LCHlch(29.77, 58.14, 326.36°)
OKLaboklab(41.56% 0.133 -0.0895)
OKLCHoklch(41.56% 0.16 326.1)
XYZxyz(11.2771, 6.1431, 18.6772)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F79 #23791F
analogous
#481F79 #751F79 #791F50
triadic
#751F79 #79751F #1F7975
tetradic
#751F79 #79481F #23791F #1F5079
square
#751F79 #79481F #23791F #1F5079
split-complementary
#751F79 #50791F #1F7948
monochromatic
#180618 #461348 #751F79 #A42BAA #C943CF

Accessibility & contrast

On white

9.42
#751F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#751F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F79
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F79#FFFFFF#000000##FFFFFF
##751F791.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7B
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#782E4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751f79;
/* rgb */ color: rgb(117, 31, 121);
/* oklch */ color: oklch(41.6% 0.160 326.1);
Tailwind
colors: {
  custom: {
    50: '#a064a0',
    500: '#751f79',
    950: '#000000',
  },
}
SCSS
$custom: #751f79;
$custom-light: #a064a0;
$custom-dark: #000000;
JSON
{
  "hex": "#751f79",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 297.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.16029,
    "h": 326.1
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#751F79
secondary
#4CAC47
accent
#E2454C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #751F79

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

Preview Lab → · Contrast checker → · Palette generator →

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