#751A7B#751A7B

#751A7B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.168 H 325.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#751A7B
RGBrgb(117, 26, 123)
HSLhsl(296, 65%, 29%)
HSVhsv(296, 79%, 48%)
CMYKcmyk(4.9%, 78.9%, 0%, 51.8%)
CIE-LABlab(29.29, 50.50, -34.24)
CIE-LCHlch(29.29, 61.01, 325.86°)
OKLaboklab(41.26% 0.1377 -0.0954)
OKLCHoklch(41.26% 0.168 325.3)
XYZxyz(11.2804, 5.9515, 19.2897)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A7B #207B1A
analogous
#451A7B #751A7B #7B1A51
triadic
#751A7B #7B751A #1A7B75
tetradic
#751A7B #7B451A #207B1A #1A517B
square
#751A7B #7B451A #207B1A #1A517B
split-complementary
#751A7B #517B1A #1A7B45
monochromatic
#180519 #450F48 #751A7B #A525AE #CC3AD5

Accessibility & contrast

On white

9.59
#751A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#751A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A7B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A7B#FFFFFF#000000##FFFFFF
##751A7B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#782C4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751a7b;
/* rgb */ color: rgb(117, 26, 123);
/* oklch */ color: oklch(41.3% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#a062a2',
    500: '#751a7b',
    950: '#000000',
  },
}
SCSS
$custom: #751a7b;
$custom-light: #a062a2;
$custom-dark: #000000;
JSON
{
  "hex": "#751a7b",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 296.289,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.16752,
    "h": 325.3
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#751A7B
secondary
#48AF42
accent
#E8404A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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