#751F77#751F77

#751F77 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.159 H 327.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#751F77
RGBrgb(117, 31, 119)
HSLhsl(299, 59%, 29%)
HSVhsv(299, 74%, 47%)
CMYKcmyk(1.7%, 73.9%, 0%, 53.3%)
CIE-LABlab(29.65, 48.04, -31.14)
CIE-LCHlch(29.65, 57.25, 327.05°)
OKLaboklab(41.43% 0.133 -0.0864)
OKLCHoklch(41.43% 0.159 327)
XYZxyz(11.1557, 6.0946, 18.0380)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F77 #21771F
analogous
#491F77 #751F77 #771F4D
triadic
#751F77 #77751F #1F7775
tetradic
#751F77 #77491F #21771F #1F4D77
square
#751F77 #77491F #21771F #1F4D77
split-complementary
#751F77 #4D771F #1F7749
monochromatic
#180618 #451246 #751F77 #A52CA8 #CB43CE

Accessibility & contrast

On white

9.46
#751F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#751F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F77
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F77#FFFFFF#000000##FFFFFF
##751F771.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#782D49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751f77;
/* rgb */ color: rgb(117, 31, 119);
/* oklch */ color: oklch(41.4% 0.159 327.0);
Tailwind
colors: {
  custom: {
    50: '#a0649e',
    500: '#751f77',
    950: '#000000',
  },
}
SCSS
$custom: #751f77;
$custom-light: #a0649e;
$custom-dark: #000000;
JSON
{
  "hex": "#751f77",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 298.636,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.15858,
    "h": 327
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#751F77
secondary
#4AAB47
accent
#E24649
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751F77

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

Preview Lab → · Contrast checker → · Palette generator →

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