#751D8F#751D8F

#751D8F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.182 H 317.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#751D8F
RGBrgb(117, 29, 143)
HSLhsl(286, 66%, 34%)
HSVhsv(286, 80%, 56%)
CMYKcmyk(18.2%, 79.7%, 0%, 43.9%)
CIE-LABlab(30.98, 53.32, -44.01)
CIE-LCHlch(30.98, 69.14, 320.47°)
OKLaboklab(42.89% 0.1329 -0.124)
OKLCHoklch(42.89% 0.182 317)
XYZxyz(12.7327, 6.6444, 26.5931)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D8F #378F1D
analogous
#3C1D8F #751D8F #8F1D70
triadic
#751D8F #8F751D #1D8F75
tetradic
#751D8F #8F3C1D #378F1D #1D708F
square
#751D8F #8F3C1D #378F1D #1D708F
split-complementary
#751D8F #708F1D #1D8F3C
monochromatic
#220829 #4B135C #751D8F #9F27C2 #BA4CDB

Accessibility & contrast

On white

9.02
#751D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#751D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751D8F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D8F#FFFFFF#000000##FFFFFF
##751D8F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#743756
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751d8f;
/* rgb */ color: rgb(117, 29, 143);
/* oklch */ color: oklch(42.9% 0.182 317.0);
Tailwind
colors: {
  custom: {
    50: '#a164b0',
    500: '#751d8f',
    950: '#000000',
  },
}
SCSS
$custom: #751d8f;
$custom-light: #a164b0;
$custom-dark: #000000;
JSON
{
  "hex": "#751d8f",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 286.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.18172,
    "h": 317
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#751D8F
secondary
#65BD4B
accent
#E93F66
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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