#751B71#751B71

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

Color values

HEX#751B71
RGBrgb(117, 27, 113)
HSLhsl(303, 63%, 28%)
HSVhsv(303, 77%, 46%)
CMYKcmyk(0%, 76.9%, 3.4%, 54.1%)
CIE-LABlab(28.80, 48.41, -28.67)
CIE-LCHlch(28.80, 56.26, 329.36°)
OKLaboklab(40.71% 0.137 -0.0792)
OKLCHoklch(40.71% 0.158 330)
XYZxyz(10.7086, 5.7589, 16.1671)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B71 #1B751F
analogous
#4C1B75 #751B71 #751B44
triadic
#751B71 #71751B #1B7175
tetradic
#751B71 #754C1B #1B751F #1B4475
square
#751B71 #754C1B #1B751F #1B4475
split-complementary
#751B71 #44751B #1B754C
monochromatic
#190618 #431041 #751B71 #A726A1 #D139CB

Accessibility & contrast

On white

9.76
#751B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#751B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B71
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B71#FFFFFF#000000##FFFFFF
##751B711.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#7A2744
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751b71;
/* rgb */ color: rgb(117, 27, 113);
/* oklch */ color: oklch(40.7% 0.158 330.0);
Tailwind
colors: {
  custom: {
    50: '#a0629a',
    500: '#751b71',
    950: '#000000',
  },
}
SCSS
$custom: #751b71;
$custom-light: #a0629a;
$custom-dark: #000000;
JSON
{
  "hex": "#751b71",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 302.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.15824,
    "h": 330
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#751B71
secondary
#42A947
accent
#E64942
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751B71

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

Preview Lab → · Contrast checker → · Palette generator →

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