#751C7E#751C7E

#751C7E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.168 H 323.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#751C7E
RGBrgb(117, 28, 126)
HSLhsl(294, 64%, 30%)
HSVhsv(294, 78%, 49%)
CMYKcmyk(7.1%, 77.8%, 0%, 50.6%)
CIE-LABlab(29.71, 50.39, -35.46)
CIE-LCHlch(29.71, 61.61, 324.86°)
OKLaboklab(41.62% 0.1357 -0.0989)
OKLCHoklch(41.62% 0.168 323.9)
XYZxyz(11.5169, 6.1195, 20.3092)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C7E #257E1C
analogous
#441C7E #751C7E #7E1C56
triadic
#751C7E #7E751C #1C7E75
tetradic
#751C7E #7E441C #257E1C #1C567E
square
#751C7E #7E441C #257E1C #1C567E
split-complementary
#751C7E #567E1C #1C7E44
monochromatic
#18061A #47114C #751C7E #A327B0 #C740D5

Accessibility & contrast

On white

9.44
#751C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#751C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C7E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C7E#FFFFFF#000000##FFFFFF
##751C7E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#772E4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751c7e;
/* rgb */ color: rgb(117, 28, 126);
/* oklch */ color: oklch(41.6% 0.168 323.9);
Tailwind
colors: {
  custom: {
    50: '#a063a4',
    500: '#751c7e',
    950: '#000000',
  },
}
SCSS
$custom: #751c7e;
$custom-light: #a063a4;
$custom-dark: #000000;
JSON
{
  "hex": "#751c7e",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 294.49,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41619,
    "c": 0.16795,
    "h": 323.9
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#751C7E
secondary
#4EB244
accent
#E74150
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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