#751A8B#751A8B

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

Color values

HEX#751A8B
RGBrgb(117, 26, 139)
HSLhsl(288, 68%, 32%)
HSVhsv(288, 81%, 55%)
CMYKcmyk(15.8%, 81.3%, 0%, 45.5%)
CIE-LABlab(30.36, 53.50, -42.53)
CIE-LCHlch(30.36, 68.35, 321.52°)
OKLaboklab(42.36% 0.136 -0.1196)
OKLCHoklch(42.36% 0.181 318.7)
XYZxyz(12.3651, 6.3854, 25.0023)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A8B #308B1A
analogous
#3D1A8B #751A8B #8B1A68
triadic
#751A8B #8B751A #1A8B75
tetradic
#751A8B #8B3D1A #308B1A #1A688B
square
#751A8B #8B3D1A #308B1A #1A688B
split-complementary
#751A8B #688B1A #1A8B3D
monochromatic
#1E0724 #4A1057 #751A8B #A024BF #BE43DC

Accessibility & contrast

On white

9.22
#751A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751A8B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A8B#FFFFFF#000000##FFFFFF
##751A8B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#753453
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751a8b;
/* rgb */ color: rgb(117, 26, 139);
/* oklch */ color: oklch(42.4% 0.181 318.7);
Tailwind
colors: {
  custom: {
    50: '#a163ad',
    500: '#751a8b',
    950: '#000000',
  },
}
SCSS
$custom: #751a8b;
$custom-light: #a163ad;
$custom-dark: #000000;
JSON
{
  "hex": "#751a8b",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 288.319,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.18111,
    "h": 318.7
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#751A8B
secondary
#5BBD44
accent
#EB3C5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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