#751C7B#751C7B

#751C7B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.165 H 325.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#751C7B
RGBrgb(117, 28, 123)
HSLhsl(296, 63%, 30%)
HSVhsv(296, 77%, 48%)
CMYKcmyk(4.9%, 77.2%, 0%, 51.8%)
CIE-LABlab(29.52, 49.84, -33.87)
CIE-LCHlch(29.52, 60.26, 325.80°)
OKLaboklab(41.42% 0.1359 -0.0943)
OKLCHoklch(41.42% 0.165 325.2)
XYZxyz(11.3263, 6.0432, 19.3049)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C7B #227B1C
analogous
#461C7B #751C7B #7B1C51
triadic
#751C7B #7B751C #1C7B75
tetradic
#751C7B #7B461C #227B1C #1C517B
square
#751C7B #7B461C #227B1C #1C517B
split-complementary
#751C7B #517B1C #1C7B46
monochromatic
#180619 #461149 #751C7B #A427AD #CA3ED3

Accessibility & contrast

On white

9.51
#751C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#751C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C7B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C7B#FFFFFF#000000##FFFFFF
##751C7B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#314979
Tritanopia (blue-blind)
#782D4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751c7b;
/* rgb */ color: rgb(117, 28, 123);
/* oklch */ color: oklch(41.4% 0.165 325.2);
Tailwind
colors: {
  custom: {
    50: '#a063a2',
    500: '#751c7b',
    950: '#000000',
  },
}
SCSS
$custom: #751c7b;
$custom-light: #a063a2;
$custom-dark: #000000;
JSON
{
  "hex": "#751c7b",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 296.211,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.1654,
    "h": 325.2
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#751C7B
secondary
#4BAF44
accent
#E6424C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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