#751B8A#751B8A

#751B8A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.179 H 319.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#751B8A
RGBrgb(117, 27, 138)
HSLhsl(289, 67%, 32%)
HSVhsv(289, 80%, 54%)
CMYKcmyk(15.2%, 80.4%, 0%, 45.9%)
CIE-LABlab(30.40, 52.99, -41.85)
CIE-LCHlch(30.40, 67.53, 321.70°)
OKLaboklab(42.37% 0.1353 -0.1176)
OKLCHoklch(42.37% 0.179 319)
XYZxyz(12.3149, 6.4014, 24.6267)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B8A #308A1B
analogous
#3E1B8A #751B8A #8A1B67
triadic
#751B8A #8A751B #1B8A75
tetradic
#751B8A #8A3E1B #308A1B #1B678A
square
#751B8A #8A3E1B #308A1B #1B678A
split-complementary
#751B8A #678A1B #1B8A3E
monochromatic
#1E0724 #4A1157 #751B8A #A025BD #BE45DB

Accessibility & contrast

On white

9.21
#751B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#751B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B8A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B8A#FFFFFF#000000##FFFFFF
##751B8A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#234A88
Tritanopia (blue-blind)
#753453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751b8a;
/* rgb */ color: rgb(117, 27, 138);
/* oklch */ color: oklch(42.4% 0.179 319.0);
Tailwind
colors: {
  custom: {
    50: '#a163ad',
    500: '#751b8a',
    950: '#000000',
  },
}
SCSS
$custom: #751b8a;
$custom-light: #a163ad;
$custom-dark: #000000;
JSON
{
  "hex": "#751b8a",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 288.649,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.1793,
    "h": 319
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#751B8A
secondary
#5BBC45
accent
#EA3E5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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