#751B84#751B84

#751B84 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.174 H 321.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#751B84
RGBrgb(117, 27, 132)
HSLhsl(291, 66%, 31%)
HSVhsv(291, 80%, 52%)
CMYKcmyk(11.4%, 79.5%, 0%, 48.2%)
CIE-LABlab(29.99, 51.84, -38.77)
CIE-LCHlch(29.99, 64.74, 323.21°)
OKLaboklab(41.94% 0.1361 -0.1086)
OKLCHoklch(41.94% 0.174 321.4)
XYZxyz(11.8924, 6.2324, 22.4019)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B84 #2A841B
analogous
#401B84 #751B84 #841B5E
triadic
#751B84 #84751B #1B8475
tetradic
#751B84 #84401B #2A841B #1B5E84
square
#751B84 #84401B #2A841B #1B5E84
split-complementary
#751B84 #5E841B #1B8440
monochromatic
#1B061E #481151 #751B84 #A225B7 #C341D8

Accessibility & contrast

On white

9.35
#751B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#751B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B84
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B84#FFFFFF#000000##FFFFFF
##751B841.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#76314F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751b84;
/* rgb */ color: rgb(117, 27, 132);
/* oklch */ color: oklch(41.9% 0.174 321.4);
Tailwind
colors: {
  custom: {
    50: '#a063a8',
    500: '#751b84',
    950: '#000000',
  },
}
SCSS
$custom: #751b84;
$custom-light: #a063a8;
$custom-dark: #000000;
JSON
{
  "hex": "#751b84",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 291.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.17412,
    "h": 321.4
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#751B84
secondary
#54B743
accent
#E93F57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751B84

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

Preview Lab → · Contrast checker → · Palette generator →

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