#751F74#751F74

#751F74 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.156 H 328.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#751F74
RGBrgb(117, 31, 116)
HSLhsl(301, 58%, 29%)
HSVhsv(301, 74%, 46%)
CMYKcmyk(0%, 73.5%, 0.9%, 54.1%)
CIE-LABlab(29.47, 47.50, -29.51)
CIE-LCHlch(29.47, 55.92, 328.15°)
OKLaboklab(41.25% 0.133 -0.0816)
OKLCHoklch(41.25% 0.156 328.4)
XYZxyz(10.9784, 6.0236, 17.1041)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F74 #1F7520
analogous
#4B1F75 #751F74 #751F49
triadic
#751F74 #74751F #1F7475
tetradic
#751F74 #754B1F #1F7520 #1F4975
square
#751F74 #754B1F #1F7520 #1F4975
split-complementary
#751F74 #49751F #1F754B
monochromatic
#180618 #451244 #751F74 #A52CA4 #CD42CB

Accessibility & contrast

On white

9.53
#751F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#751F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F74
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F74#FFFFFF#000000##FFFFFF
##751F741.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#792B47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751f74;
/* rgb */ color: rgb(117, 31, 116);
/* oklch */ color: oklch(41.3% 0.156 328.4);
Tailwind
colors: {
  custom: {
    50: '#a0649c',
    500: '#751f74',
    950: '#000000',
  },
}
SCSS
$custom: #751f74;
$custom-light: #a0649c;
$custom-dark: #000000;
JSON
{
  "hex": "#751f74",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 300.698,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.15605,
    "h": 328.4
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#751F74
secondary
#47A948
accent
#E14846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751F74

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

Preview Lab → · Contrast checker → · Palette generator →

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