#751F81#751F81

#751F81 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.167 H 322.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#751F81
RGBrgb(117, 31, 129)
HSLhsl(293, 61%, 31%)
HSVhsv(293, 76%, 51%)
CMYKcmyk(9.3%, 76%, 0%, 49.4%)
CIE-LABlab(30.27, 49.90, -36.45)
CIE-LCHlch(30.27, 61.79, 323.85°)
OKLaboklab(42.08% 0.1326 -0.1018)
OKLCHoklch(42.08% 0.167 322.5)
XYZxyz(11.7882, 6.3475, 21.3689)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F81 #2B811F
analogous
#441F81 #751F81 #811F5C
triadic
#751F81 #81751F #1F8175
tetradic
#751F81 #81441F #2B811F #1F5C81
square
#751F81 #81441F #2B811F #1F5C81
split-complementary
#751F81 #5C811F #1F8144
monochromatic
#1B071E #481350 #751F81 #A22BB2 #C247D3

Accessibility & contrast

On white

9.25
#751F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#751F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F81
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F81#FFFFFF#000000##FFFFFF
##751F811.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#2E4B7F
Tritanopia (blue-blind)
#77314E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751f81;
/* rgb */ color: rgb(117, 31, 129);
/* oklch */ color: oklch(42.1% 0.167 322.5);
Tailwind
colors: {
  custom: {
    50: '#a064a6',
    500: '#751f81',
    950: '#000000',
  },
}
SCSS
$custom: #751f81;
$custom-light: #a064a6;
$custom-dark: #000000;
JSON
{
  "hex": "#751f81",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 292.653,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.16723,
    "h": 322.5
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#751F81
secondary
#55B448
accent
#E44357
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751F81

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

Preview Lab → · Contrast checker → · Palette generator →

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