#751A9D#751A9D

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

Color values

HEX#751A9D
RGBrgb(117, 26, 157)
HSLhsl(282, 72%, 36%)
HSVhsv(282, 83%, 62%)
CMYKcmyk(25.5%, 83.4%, 0%, 38.4%)
CIE-LABlab(31.71, 57.11, -51.42)
CIE-LCHlch(31.71, 76.85, 318.00°)
OKLaboklab(43.72% 0.1323 -0.1457)
OKLCHoklch(43.72% 0.197 312.2)
XYZxyz(13.7902, 6.9554, 32.5078)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A9D #429D1A
analogous
#331A9D #751A9D #9D1A83
triadic
#751A9D #9D751A #1A9D75
tetradic
#751A9D #9D331A #429D1A #1A839D
square
#751A9D #9D331A #429D1A #1A839D
split-complementary
#751A9D #839D1A #1A9D33
monochromatic
#270934 #4E1168 #751A9D #9C23D2 #B54FE2

Accessibility & contrast

On white

8.78
#751A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#751A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A9D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A9D#FFFFFF#000000##FFFFFF
##751A9D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#703C5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751a9d;
/* rgb */ color: rgb(117, 26, 157);
/* oklch */ color: oklch(43.7% 0.197 312.2);
Tailwind
colors: {
  custom: {
    50: '#a264bb',
    500: '#751a9d',
    950: '#000000',
  },
}
SCSS
$custom: #751a9d;
$custom-light: #a264bb;
$custom-dark: #000000;
JSON
{
  "hex": "#751a9d",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 281.679,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.19686,
    "h": 312.2
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#751A9D
secondary
#72C44E
accent
#EE3971
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #751A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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