#751F6C#751F6C

#751F6C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.149 H 332.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#751F6C
RGBrgb(117, 31, 108)
HSLhsl(306, 58%, 29%)
HSVhsv(306, 74%, 46%)
CMYKcmyk(0%, 73.5%, 7.7%, 54.1%)
CIE-LABlab(29.02, 46.12, -25.12)
CIE-LCHlch(29.02, 52.51, 331.43°)
OKLaboklab(40.78% 0.1326 -0.0689)
OKLCHoklch(40.78% 0.149 332.5)
XYZxyz(10.5329, 5.8454, 14.7580)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F6C #1F7528
analogous
#531F75 #751F6C #751F41
triadic
#751F6C #6C751F #1F6C75
tetradic
#751F6C #75531F #1F7528 #1F4175
square
#751F6C #75531F #1F7528 #1F4175
split-complementary
#751F6C #41751F #1F7553
monochromatic
#180616 #45123F #751F6C #A52C99 #CD42BE

Accessibility & contrast

On white

9.68
#751F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751F6C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F6C#FFFFFF#000000##FFFFFF
##751F6C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#3A496A
Tritanopia (blue-blind)
#7A2843
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751f6c;
/* rgb */ color: rgb(117, 31, 108);
/* oklch */ color: oklch(40.8% 0.149 332.5);
Tailwind
colors: {
  custom: {
    50: '#a06496',
    500: '#751f6c',
    950: '#000000',
  },
}
SCSS
$custom: #751f6c;
$custom-light: #a06496;
$custom-dark: #000000;
JSON
{
  "hex": "#751f6c",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 108
  },
  "hsl": {
    "h": 306.279,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40777,
    "c": 0.14947,
    "h": 332.5
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#751F6C
secondary
#47A951
accent
#E15746
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #751F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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