#751B81#751B81

#751B81 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.172 H 322.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#751B81
RGBrgb(117, 27, 129)
HSLhsl(293, 65%, 31%)
HSVhsv(293, 79%, 51%)
CMYKcmyk(9.3%, 79.1%, 0%, 49.4%)
CIE-LABlab(29.79, 51.28, -37.22)
CIE-LCHlch(29.79, 63.36, 324.03°)
OKLaboklab(41.74% 0.1364 -0.1041)
OKLCHoklch(41.74% 0.172 322.7)
XYZxyz(11.6901, 6.1514, 21.3362)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B81 #27811B
analogous
#421B81 #751B81 #811B5A
triadic
#751B81 #81751B #1B8175
tetradic
#751B81 #81421B #27811B #1B5A81
square
#751B81 #81421B #27811B #1B5A81
split-complementary
#751B81 #5A811B #1B8142
monochromatic
#19061C #47104E #751B81 #A326B4 #C53FD7

Accessibility & contrast

On white

9.42
#751B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#751B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B81
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B81#FFFFFF#000000##FFFFFF
##751B811.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#772F4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751b81;
/* rgb */ color: rgb(117, 27, 129);
/* oklch */ color: oklch(41.7% 0.172 322.7);
Tailwind
colors: {
  custom: {
    50: '#a063a6',
    500: '#751b81',
    950: '#000000',
  },
}
SCSS
$custom: #751b81;
$custom-light: #a063a6;
$custom-dark: #000000;
JSON
{
  "hex": "#751b81",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 292.941,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.17155,
    "h": 322.7
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#751B81
secondary
#51B543
accent
#E83F53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751B81

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

Preview Lab → · Contrast checker → · Palette generator →

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