#751E7F#751E7F

#751E7F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.167 H 323.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#751E7F
RGBrgb(117, 30, 127)
HSLhsl(294, 62%, 31%)
HSVhsv(294, 76%, 50%)
CMYKcmyk(7.9%, 76.4%, 0%, 50.2%)
CIE-LABlab(30.02, 49.88, -35.60)
CIE-LCHlch(30.02, 61.28, 324.48°)
OKLaboklab(41.86% 0.1338 -0.0994)
OKLCHoklch(41.86% 0.167 323.4)
XYZxyz(11.6308, 6.2435, 20.6671)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E7F #287F1E
analogous
#441E7F #751E7F #7F1E58
triadic
#751E7F #7F751E #1E7F75
tetradic
#751E7F #7F441E #287F1E #1E587F
square
#751E7F #7F441E #287F1E #1E587F
split-complementary
#751E7F #587F1E #1E7F44
monochromatic
#1A071C #47124D #751E7F #A32AB1 #C444D3

Accessibility & contrast

On white

9.34
#751E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#751E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E7F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E7F#FFFFFF#000000##FFFFFF
##751E7F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#77304D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751e7f;
/* rgb */ color: rgb(117, 30, 127);
/* oklch */ color: oklch(41.9% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#a064a5',
    500: '#751e7f',
    950: '#000000',
  },
}
SCSS
$custom: #751e7f;
$custom-light: #a064a5;
$custom-dark: #000000;
JSON
{
  "hex": "#751e7f",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 293.814,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.16662,
    "h": 323.4
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#751E7F
secondary
#52B247
accent
#E54354
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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