#751B7B#751B7B

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

Color values

HEX#751B7B
RGBrgb(117, 27, 123)
HSLhsl(296, 64%, 29%)
HSVhsv(296, 78%, 48%)
CMYKcmyk(4.9%, 78%, 0%, 51.8%)
CIE-LABlab(29.40, 50.17, -34.06)
CIE-LCHlch(29.40, 60.64, 325.83°)
OKLaboklab(41.34% 0.1368 -0.0948)
OKLCHoklch(41.34% 0.166 325.3)
XYZxyz(11.3029, 5.9966, 19.2972)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B7B #217B1B
analogous
#451B7B #751B7B #7B1B51
triadic
#751B7B #7B751B #1B7B75
tetradic
#751B7B #7B451B #217B1B #1B517B
square
#751B7B #7B451B #217B1B #1B517B
split-complementary
#751B7B #517B1B #1B7B45
monochromatic
#180619 #451049 #751B7B #A526AD #CB3CD4

Accessibility & contrast

On white

9.55
#751B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#751B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B7B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B7B#FFFFFF#000000##FFFFFF
##751B7B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751b7b;
/* rgb */ color: rgb(117, 27, 123);
/* oklch */ color: oklch(41.3% 0.166 325.3);
Tailwind
colors: {
  custom: {
    50: '#a063a2',
    500: '#751b7b',
    950: '#000000',
  },
}
SCSS
$custom: #751b7b;
$custom-light: #a063a2;
$custom-dark: #000000;
JSON
{
  "hex": "#751b7b",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 296.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.16648,
    "h": 325.3
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#751B7B
secondary
#4AAF43
accent
#E7414B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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