#751F7D#751F7D

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

Color values

HEX#751F7D
RGBrgb(117, 31, 125)
HSLhsl(295, 60%, 31%)
HSVhsv(295, 75%, 49%)
CMYKcmyk(6.4%, 75.2%, 0%, 51%)
CIE-LABlab(30.02, 49.14, -34.34)
CIE-LCHlch(30.02, 59.95, 325.05°)
OKLaboklab(41.82% 0.1329 -0.0957)
OKLCHoklch(41.82% 0.164 324.2)
XYZxyz(11.5275, 6.2433, 19.9960)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F7D #277D1F
analogous
#461F7D #751F7D #7D1F56
triadic
#751F7D #7D751F #1F7D75
tetradic
#751F7D #7D461F #277D1F #1F567D
square
#751F7D #7D461F #277D1F #1F567D
split-complementary
#751F7D #567D1F #1F7D46
monochromatic
#19071B #47134C #751F7D #A32BAE #C545D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##751F7D#FFFFFF#000000##FFFFFF
##751F7D1.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)
#004080
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#77304C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751f7d;
/* rgb */ color: rgb(117, 31, 125);
/* oklch */ color: oklch(41.8% 0.164 324.2);
Tailwind
colors: {
  custom: {
    50: '#a064a3',
    500: '#751f7d',
    950: '#000000',
  },
}
SCSS
$custom: #751f7d;
$custom-light: #a064a3;
$custom-dark: #000000;
JSON
{
  "hex": "#751f7d",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 294.894,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.16374,
    "h": 324.2
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#751F7D
secondary
#51B048
accent
#E34452
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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