#751F7F#751F7F

#751F7F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.165 H 323.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#751F7F
RGBrgb(117, 31, 127)
HSLhsl(294, 61%, 31%)
HSVhsv(294, 76%, 50%)
CMYKcmyk(7.9%, 75.6%, 0%, 50.2%)
CIE-LABlab(30.14, 49.52, -35.40)
CIE-LCHlch(30.14, 60.87, 324.44°)
OKLaboklab(41.95% 0.1328 -0.0988)
OKLCHoklch(41.95% 0.165 323.3)
XYZxyz(11.6565, 6.2949, 20.6756)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F7F #297F1F
analogous
#451F7F #751F7F #7F1F59
triadic
#751F7F #7F751F #1F7F75
tetradic
#751F7F #7F451F #297F1F #1F597F
square
#751F7F #7F451F #297F1F #1F597F
split-complementary
#751F7F #597F1F #1F7F45
monochromatic
#1A071D #48134E #751F7F #A22BB0 #C346D2

Accessibility & contrast

On white

9.30
#751F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#751F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F7F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F7F#FFFFFF#000000##FFFFFF
##751F7F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751f7f;
/* rgb */ color: rgb(117, 31, 127);
/* oklch */ color: oklch(41.9% 0.165 323.3);
Tailwind
colors: {
  custom: {
    50: '#a064a4',
    500: '#751f7f',
    950: '#000000',
  },
}
SCSS
$custom: #751f7f;
$custom-light: #a064a4;
$custom-dark: #000000;
JSON
{
  "hex": "#751f7f",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 293.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.16548,
    "h": 323.3
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#751F7F
secondary
#53B248
accent
#E44455
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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