#751C9D#751C9D

#751C9D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.9% C 0.195 H 312.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#751C9D
RGBrgb(117, 28, 157)
HSLhsl(281, 70%, 36%)
HSVhsv(281, 82%, 62%)
CMYKcmyk(25.5%, 82.2%, 0%, 38.4%)
CIE-LABlab(31.91, 56.50, -51.08)
CIE-LCHlch(31.91, 76.17, 317.88°)
OKLaboklab(43.87% 0.1309 -0.1447)
OKLCHoklch(43.87% 0.195 312.1)
XYZxyz(13.8360, 7.0471, 32.5231)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C9D #449D1C
analogous
#341C9D #751C9D #9D1C85
triadic
#751C9D #9D751C #1C9D75
tetradic
#751C9D #9D341C #449D1C #1C859D
square
#751C9D #9D341C #449D1C #1C859D
split-complementary
#751C9D #859D1C #1C9D34
monochromatic
#280935 #4E1369 #751C9D #9C25D1 #B553E0

Accessibility & contrast

On white

8.72
#751C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#751C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C9D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C9D#FFFFFF#000000##FFFFFF
##751C9D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#703D5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751c9d;
/* rgb */ color: rgb(117, 28, 157);
/* oklch */ color: oklch(43.9% 0.195 312.1);
Tailwind
colors: {
  custom: {
    50: '#a265bb',
    500: '#751c9d',
    950: '#000000',
  },
}
SCSS
$custom: #751c9d;
$custom-light: #a265bb;
$custom-dark: #000000;
JSON
{
  "hex": "#751c9d",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 281.395,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43868,
    "c": 0.19515,
    "h": 312.1
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#751C9D
secondary
#75C351
accent
#ED3B72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #751C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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