#751F6B#751F6B

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

Color values

HEX#751F6B
RGBrgb(117, 31, 107)
HSLhsl(307, 58%, 29%)
HSVhsv(307, 74%, 46%)
CMYKcmyk(0%, 73.5%, 8.5%, 54.1%)
CIE-LABlab(28.96, 45.95, -24.56)
CIE-LCHlch(28.96, 52.10, 331.88°)
OKLaboklab(40.72% 0.1325 -0.0673)
OKLCHoklch(40.72% 0.149 333.1)
XYZxyz(10.4800, 5.8243, 14.4793)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F6B #1F7529
analogous
#541F75 #751F6B #751F40
triadic
#751F6B #6B751F #1F6B75
tetradic
#751F6B #75541F #1F7529 #1F4075
square
#751F6B #75541F #1F7529 #1F4075
split-complementary
#751F6B #40751F #1F7554
monochromatic
#180616 #45123F #751F6B #A52C97 #CD42BD

Accessibility & contrast

On white

9.70
#751F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#751F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F6B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F6B#FFFFFF#000000##FFFFFF
##751F6B1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#7A2742
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751f6b;
/* rgb */ color: rgb(117, 31, 107);
/* oklch */ color: oklch(40.7% 0.149 333.1);
Tailwind
colors: {
  custom: {
    50: '#a06395',
    500: '#751f6b',
    950: '#000000',
  },
}
SCSS
$custom: #751f6b;
$custom-light: #a06395;
$custom-dark: #000000;
JSON
{
  "hex": "#751f6b",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 306.977,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.14866,
    "h": 333.1
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#751F6B
secondary
#47A952
accent
#E15846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #751F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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