#751A7D#751A7D

#751A7D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.169 H 324.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#751A7D
RGBrgb(117, 26, 125)
HSLhsl(295, 66%, 30%)
HSVhsv(295, 79%, 49%)
CMYKcmyk(6.4%, 79.2%, 0%, 51%)
CIE-LABlab(29.42, 50.86, -35.30)
CIE-LCHlch(29.42, 61.91, 325.24°)
OKLaboklab(41.39% 0.1376 -0.0985)
OKLCHoklch(41.39% 0.169 324.4)
XYZxyz(11.4069, 6.0021, 19.9558)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A7D #227D1A
analogous
#441A7D #751A7D #7D1A53
triadic
#751A7D #7D751A #1A7D75
tetradic
#751A7D #7D441A #227D1A #1A537D
square
#751A7D #7D441A #227D1A #1A537D
split-complementary
#751A7D #537D1A #1A7D44
monochromatic
#180519 #460F4A #751A7D #A425B0 #CA3BD6

Accessibility & contrast

On white

9.54
#751A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#751A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A7D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A7D#FFFFFF#000000##FFFFFF
##751A7D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#772D4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751a7d;
/* rgb */ color: rgb(117, 26, 125);
/* oklch */ color: oklch(41.4% 0.169 324.4);
Tailwind
colors: {
  custom: {
    50: '#a062a3',
    500: '#751a7d',
    950: '#000000',
  },
}
SCSS
$custom: #751a7d;
$custom-light: #a062a3;
$custom-dark: #000000;
JSON
{
  "hex": "#751a7d",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 295.152,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.16919,
    "h": 324.4
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#751A7D
secondary
#4BB142
accent
#E93F4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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