#751B7A#751B7A

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

Color values

HEX#751B7A
RGBrgb(117, 27, 122)
HSLhsl(297, 64%, 29%)
HSVhsv(297, 78%, 48%)
CMYKcmyk(4.1%, 77.9%, 0%, 52.2%)
CIE-LABlab(29.34, 49.99, -33.53)
CIE-LCHlch(29.34, 60.19, 326.15°)
OKLaboklab(41.27% 0.1369 -0.0933)
OKLCHoklch(41.27% 0.166 325.7)
XYZxyz(11.2407, 5.9717, 18.9692)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B7A #207A1B
analogous
#461B7A #751B7A #7A1B50
triadic
#751B7A #7A751B #1B7A75
tetradic
#751B7A #7A461B #207A1B #1B507A
square
#751B7A #7A461B #207A1B #1B507A
split-complementary
#751B7A #507A1B #1B7A46
monochromatic
#180619 #451048 #751B7A #A526AC #CC3CD4

Accessibility & contrast

On white

9.57
#751B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#751B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B7A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B7A#FFFFFF#000000##FFFFFF
##751B7A1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#782C4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751b7a;
/* rgb */ color: rgb(117, 27, 122);
/* oklch */ color: oklch(41.3% 0.166 325.7);
Tailwind
colors: {
  custom: {
    50: '#a062a1',
    500: '#751b7a',
    950: '#000000',
  },
}
SCSS
$custom: #751b7a;
$custom-light: #a062a1;
$custom-dark: #000000;
JSON
{
  "hex": "#751b7a",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 296.842,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41273,
    "c": 0.16565,
    "h": 325.7
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#751B7A
secondary
#48AE43
accent
#E7414A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #751B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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