#751C72#751C72

#751C72 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.158 H 329.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#751C72
RGBrgb(117, 28, 114)
HSLhsl(302, 61%, 28%)
HSVhsv(302, 76%, 46%)
CMYKcmyk(0%, 76.1%, 2.6%, 54.1%)
CIE-LABlab(28.97, 48.24, -29.03)
CIE-LCHlch(28.97, 56.30, 328.96°)
OKLaboklab(40.86% 0.136 -0.0802)
OKLCHoklch(40.86% 0.158 329.5)
XYZxyz(10.7886, 5.8281, 16.4730)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C72 #1C751F
analogous
#4B1C75 #751C72 #751C45
triadic
#751C72 #72751C #1C7275
tetradic
#751C72 #754B1C #1C751F #1C4575
square
#751C72 #754B1C #1C751F #1C4575
split-complementary
#751C72 #45751C #1C754B
monochromatic
#190618 #441042 #751C72 #A628A2 #D03BCB

Accessibility & contrast

On white

9.70
#751C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#751C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C72
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C72#FFFFFF#000000##FFFFFF
##751C721.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#792945
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751c72;
/* rgb */ color: rgb(117, 28, 114);
/* oklch */ color: oklch(40.9% 0.158 329.5);
Tailwind
colors: {
  custom: {
    50: '#a0639b',
    500: '#751c72',
    950: '#000000',
  },
}
SCSS
$custom: #751c72;
$custom-light: #a0639b;
$custom-dark: #000000;
JSON
{
  "hex": "#751c72",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 302.022,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.15793,
    "h": 329.5
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#751C72
secondary
#44A947
accent
#E44943
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751C72

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

Preview Lab → · Contrast checker → · Palette generator →

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