#751F6D#751F6D

#751F6D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.150 H 332.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#751F6D
RGBrgb(117, 31, 109)
HSLhsl(306, 58%, 29%)
HSVhsv(306, 74%, 46%)
CMYKcmyk(0%, 73.5%, 6.8%, 54.1%)
CIE-LABlab(29.07, 46.28, -25.67)
CIE-LCHlch(29.07, 52.93, 330.99°)
OKLaboklab(40.84% 0.1327 -0.0705)
OKLCHoklch(40.84% 0.15 332)
XYZxyz(10.5864, 5.8669, 15.0399)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F6D #1F7527
analogous
#521F75 #751F6D #751F42
triadic
#751F6D #6D751F #1F6D75
tetradic
#751F6D #75521F #1F7527 #1F4275
square
#751F6D #75521F #1F7527 #1F4275
split-complementary
#751F6D #42751F #1F7552
monochromatic
#180617 #451240 #751F6D #A52C9A #CD42C0

Accessibility & contrast

On white

9.66
#751F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#751F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F6D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F6D#FFFFFF#000000##FFFFFF
##751F6D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#7A2843
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751f6d;
/* rgb */ color: rgb(117, 31, 109);
/* oklch */ color: oklch(40.8% 0.150 332.0);
Tailwind
colors: {
  custom: {
    50: '#a06497',
    500: '#751f6d',
    950: '#000000',
  },
}
SCSS
$custom: #751f6d;
$custom-light: #a06497;
$custom-dark: #000000;
JSON
{
  "hex": "#751f6d",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 305.581,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.15027,
    "h": 332
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#751F6D
secondary
#47A950
accent
#E15546
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #751F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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