#751E7E#751E7E

#751E7E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.166 H 323.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#751E7E
RGBrgb(117, 30, 126)
HSLhsl(294, 62%, 31%)
HSVhsv(294, 76%, 49%)
CMYKcmyk(7.1%, 76.2%, 0%, 50.6%)
CIE-LABlab(29.95, 49.69, -35.07)
CIE-LCHlch(29.95, 60.82, 324.79°)
OKLaboklab(41.79% 0.1338 -0.0978)
OKLCHoklch(41.79% 0.166 323.8)
XYZxyz(11.5660, 6.2175, 20.3255)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E7E #277E1E
analogous
#451E7E #751E7E #7E1E57
triadic
#751E7E #7E751E #1E7E75
tetradic
#751E7E #7E451E #277E1E #1E577E
square
#751E7E #7E451E #277E1E #1E577E
split-complementary
#751E7E #577E1E #1E7E45
monochromatic
#19061B #47124D #751E7E #A32AAF #C544D2

Accessibility & contrast

On white

9.36
#751E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#751E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E7E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E7E#FFFFFF#000000##FFFFFF
##751E7E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#772F4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751e7e;
/* rgb */ color: rgb(117, 30, 126);
/* oklch */ color: oklch(41.8% 0.166 323.8);
Tailwind
colors: {
  custom: {
    50: '#a064a4',
    500: '#751e7e',
    950: '#000000',
  },
}
SCSS
$custom: #751e7e;
$custom-light: #a064a4;
$custom-dark: #000000;
JSON
{
  "hex": "#751e7e",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 294.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.16574,
    "h": 323.8
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#751E7E
secondary
#51B147
accent
#E54352
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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