#751C9B#751C9B

#751C9B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.193 H 312.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#751C9B
RGBrgb(117, 28, 155)
HSLhsl(282, 69%, 36%)
HSVhsv(282, 82%, 61%)
CMYKcmyk(24.5%, 81.9%, 0%, 39.2%)
CIE-LABlab(31.76, 56.08, -50.11)
CIE-LCHlch(31.76, 75.21, 318.22°)
OKLaboklab(43.71% 0.1313 -0.1419)
OKLCHoklch(43.71% 0.193 312.8)
XYZxyz(13.6667, 6.9794, 31.6312)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C9B #429B1C
analogous
#351C9B #751C9B #9B1C81
triadic
#751C9B #9B751C #1C9B75
tetradic
#751C9B #9B351C #429B1C #1C819B
square
#751C9B #9B351C #429B1C #1C819B
split-complementary
#751C9B #819B1C #1C9B35
monochromatic
#270933 #4E1367 #751C9B #9C25CF #B552E0

Accessibility & contrast

On white

8.77
#751C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#751C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C9B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C9B#FFFFFF#000000##FFFFFF
##751C9B1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#024C98
Tritanopia (blue-blind)
#713C5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751c9b;
/* rgb */ color: rgb(117, 28, 155);
/* oklch */ color: oklch(43.7% 0.193 312.8);
Tailwind
colors: {
  custom: {
    50: '#a165b9',
    500: '#751c9b',
    950: '#000000',
  },
}
SCSS
$custom: #751c9b;
$custom-light: #a165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#751c9b",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 282.047,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.19336,
    "h": 312.8
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#751C9B
secondary
#72C350
accent
#EC3C70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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