#751F84#751F84

#751F84 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.170 H 321.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#751F84
RGBrgb(117, 31, 132)
HSLhsl(291, 62%, 32%)
HSVhsv(291, 77%, 52%)
CMYKcmyk(11.4%, 76.5%, 0%, 48.2%)
CIE-LABlab(30.47, 50.47, -38.01)
CIE-LCHlch(30.47, 63.18, 323.02°)
OKLaboklab(42.28% 0.1324 -0.1064)
OKLCHoklch(42.28% 0.17 321.2)
XYZxyz(11.9905, 6.4285, 22.4346)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F84 #2E841F
analogous
#431F84 #751F84 #841F61
triadic
#751F84 #84751F #1F8475
tetradic
#751F84 #84431F #2E841F #1F6184
square
#751F84 #84431F #2E841F #1F6184
split-complementary
#751F84 #61841F #1F8443
monochromatic
#1D0821 #491352 #751F84 #A12BB6 #C049D4

Accessibility & contrast

On white

9.19
#751F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#751F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F84
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F84#FFFFFF#000000##FFFFFF
##751F841.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#2B4B82
Tritanopia (blue-blind)
#763350
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751f84;
/* rgb */ color: rgb(117, 31, 132);
/* oklch */ color: oklch(42.3% 0.170 321.2);
Tailwind
colors: {
  custom: {
    50: '#a065a8',
    500: '#751f84',
    950: '#000000',
  },
}
SCSS
$custom: #751f84;
$custom-light: #a065a8;
$custom-dark: #000000;
JSON
{
  "hex": "#751f84",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 291.089,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.16987,
    "h": 321.2
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#751F84
secondary
#59B748
accent
#E5435B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751F84

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

Preview Lab → · Contrast checker → · Palette generator →

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