#751B78#751B78

#751B78 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 326.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#751B78
RGBrgb(117, 27, 120)
HSLhsl(298, 63%, 29%)
HSVhsv(298, 78%, 47%)
CMYKcmyk(2.5%, 77.5%, 0%, 52.9%)
CIE-LABlab(29.22, 49.63, -32.46)
CIE-LCHlch(29.22, 59.30, 326.82°)
OKLaboklab(41.14% 0.1369 -0.0902)
OKLCHoklch(41.14% 0.164 326.6)
XYZxyz(11.1180, 5.9226, 18.3232)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B78 #1E781B
analogous
#471B78 #751B78 #781B4D
triadic
#751B78 #78751B #1B7875
tetradic
#751B78 #78471B #1E781B #1B4D78
square
#751B78 #78471B #1E781B #1B4D78
split-complementary
#751B78 #4D781B #1B7847
monochromatic
#180619 #441046 #751B78 #A626AA #CE3BD3

Accessibility & contrast

On white

9.61
#751B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#751B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B78
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B78#FFFFFF#000000##FFFFFF
##751B781.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#782B48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751b78;
/* rgb */ color: rgb(117, 27, 120);
/* oklch */ color: oklch(41.1% 0.164 326.6);
Tailwind
colors: {
  custom: {
    50: '#a0629f',
    500: '#751b78',
    950: '#000000',
  },
}
SCSS
$custom: #751b78;
$custom-light: #a0629f;
$custom-dark: #000000;
JSON
{
  "hex": "#751b78",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 298.065,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.16398,
    "h": 326.6
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#751B78
secondary
#46AC43
accent
#E64147
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751B78

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

Preview Lab → · Contrast checker → · Palette generator →

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