#751B72#751B72

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

Color values

HEX#751B72
RGBrgb(117, 27, 114)
HSLhsl(302, 63%, 28%)
HSVhsv(302, 77%, 46%)
CMYKcmyk(0%, 76.9%, 2.6%, 54.1%)
CIE-LABlab(28.85, 48.58, -29.22)
CIE-LCHlch(28.85, 56.69, 328.97°)
OKLaboklab(40.77% 0.137 -0.0808)
OKLCHoklch(40.77% 0.159 329.5)
XYZxyz(10.7652, 5.7815, 16.4653)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B72 #1B751E
analogous
#4B1B75 #751B72 #751B45
triadic
#751B72 #72751B #1B7275
tetradic
#751B72 #754B1B #1B751E #1B4575
square
#751B72 #754B1B #1B751E #1B4575
split-complementary
#751B72 #45751B #1B754B
monochromatic
#190618 #431042 #751B72 #A726A2 #D139CC

Accessibility & contrast

On white

9.74
#751B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751B72
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B72#FFFFFF#000000##FFFFFF
##751B721.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C74
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#792845
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751b72;
/* rgb */ color: rgb(117, 27, 114);
/* oklch */ color: oklch(40.8% 0.159 329.5);
Tailwind
colors: {
  custom: {
    50: '#a0629b',
    500: '#751b72',
    950: '#000000',
  },
}
SCSS
$custom: #751b72;
$custom-light: #a0629b;
$custom-dark: #000000;
JSON
{
  "hex": "#751b72",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 302,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.15905,
    "h": 329.5
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#751B72
secondary
#42A946
accent
#E64842
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751B72

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

Preview Lab → · Contrast checker → · Palette generator →

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