#751B9E#751B9E

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

Color values

HEX#751B9E
RGBrgb(117, 27, 158)
HSLhsl(281, 71%, 36%)
HSVhsv(281, 83%, 62%)
CMYKcmyk(25.9%, 82.9%, 0%, 38%)
CIE-LABlab(31.89, 57.01, -51.74)
CIE-LCHlch(31.89, 76.99, 317.78°)
OKLaboklab(43.87% 0.1314 -0.1467)
OKLCHoklch(43.87% 0.197 311.9)
XYZxyz(13.8984, 7.0348, 32.9668)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B9E #449E1B
analogous
#331B9E #751B9E #9E1B86
triadic
#751B9E #9E751B #1B9E75
tetradic
#751B9E #9E331B #449E1B #1B869E
square
#751B9E #9E331B #449E1B #1B869E
split-complementary
#751B9E #869E1B #1B9E33
monochromatic
#280935 #4E126A #751B9E #9C24D2 #B552E1

Accessibility & contrast

On white

8.73
#751B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751B9E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B9E#FFFFFF#000000##FFFFFF
##751B9E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751b9e;
/* rgb */ color: rgb(117, 27, 158);
/* oklch */ color: oklch(43.9% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#a264bb',
    500: '#751b9e',
    950: '#000000',
  },
}
SCSS
$custom: #751b9e;
$custom-light: #a264bb;
$custom-dark: #000000;
JSON
{
  "hex": "#751b9e",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 281.221,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.19691,
    "h": 311.9
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#751B9E
secondary
#75C451
accent
#EE3A72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #751B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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