#751D7C#751D7C

#751D7C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.165 H 324.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#751D7C
RGBrgb(117, 29, 124)
HSLhsl(296, 62%, 30%)
HSVhsv(296, 77%, 49%)
CMYKcmyk(5.6%, 76.6%, 0%, 51.4%)
CIE-LABlab(29.70, 49.67, -34.21)
CIE-LCHlch(29.70, 60.31, 325.44°)
OKLaboklab(41.57% 0.1349 -0.0953)
OKLCHoklch(41.57% 0.165 324.8)
XYZxyz(11.4133, 6.1166, 19.6443)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D7C #247C1D
analogous
#461D7C #751D7C #7C1D53
triadic
#751D7C #7C751D #1D7C75
tetradic
#751D7C #7C461D #247C1D #1D537C
square
#751D7C #7C461D #247C1D #1D537C
split-complementary
#751D7C #537C1D #1D7C46
monochromatic
#170619 #46114A #751D7C #A429AE #C841D3

Accessibility & contrast

On white

9.45
#751D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#751D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751D7C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D7C#FFFFFF#000000##FFFFFF
##751D7C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#782E4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751d7c;
/* rgb */ color: rgb(117, 29, 124);
/* oklch */ color: oklch(41.6% 0.165 324.8);
Tailwind
colors: {
  custom: {
    50: '#a063a2',
    500: '#751d7c',
    950: '#000000',
  },
}
SCSS
$custom: #751d7c;
$custom-light: #a063a2;
$custom-dark: #000000;
JSON
{
  "hex": "#751d7c",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 295.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.16515,
    "h": 324.8
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#751D7C
secondary
#4DB045
accent
#E5434F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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