#751F85#751F85

#751F85 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.171 H 320.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#751F85
RGBrgb(117, 31, 133)
HSLhsl(291, 62%, 32%)
HSVhsv(291, 77%, 52%)
CMYKcmyk(12%, 76.7%, 0%, 47.8%)
CIE-LABlab(30.53, 50.66, -38.53)
CIE-LCHlch(30.53, 63.65, 322.75°)
OKLaboklab(42.35% 0.1323 -0.1079)
OKLCHoklch(42.35% 0.171 320.8)
XYZxyz(12.0592, 6.4560, 22.7967)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F85 #2F851F
analogous
#421F85 #751F85 #851F62
triadic
#751F85 #85751F #1F8575
tetradic
#751F85 #85421F #2F851F #1F6285
square
#751F85 #85421F #2F851F #1F6285
split-complementary
#751F85 #62851F #1F8542
monochromatic
#1E0822 #491353 #751F85 #A12BB7 #BF4AD5

Accessibility & contrast

On white

9.17
#751F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751F85
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F85#FFFFFF#000000##FFFFFF
##751F851.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#763351
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751f85;
/* rgb */ color: rgb(117, 31, 133);
/* oklch */ color: oklch(42.4% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#a065a9',
    500: '#751f85',
    950: '#000000',
  },
}
SCSS
$custom: #751f85;
$custom-light: #a065a9;
$custom-dark: #000000;
JSON
{
  "hex": "#751f85",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 290.588,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.17076,
    "h": 320.8
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#751F85
secondary
#5AB749
accent
#E5435C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751F85

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

Preview Lab → · Contrast checker → · Palette generator →

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