#751B6F#751B6F

#751B6F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.157 H 331.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#751B6F
RGBrgb(117, 27, 111)
HSLhsl(304, 63%, 28%)
HSVhsv(304, 77%, 46%)
CMYKcmyk(0%, 76.9%, 5.1%, 54.1%)
CIE-LABlab(28.68, 48.07, -27.58)
CIE-LCHlch(28.68, 55.41, 330.16°)
OKLaboklab(40.59% 0.137 -0.076)
OKLCHoklch(40.59% 0.157 331)
XYZxyz(10.5973, 5.7143, 15.5807)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B6F #1B7521
analogous
#4E1B75 #751B6F #751B42
triadic
#751B6F #6F751B #1B6F75
tetradic
#751B6F #754E1B #1B7521 #1B4275
square
#751B6F #754E1B #1B7521 #1B4275
split-complementary
#751B6F #42751B #1B754E
monochromatic
#190618 #431040 #751B6F #A7269E #D139C7

Accessibility & contrast

On white

9.80
#751B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#751B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B6F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B6F#FFFFFF#000000##FFFFFF
##751B6F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#7A2643
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751b6f;
/* rgb */ color: rgb(117, 27, 111);
/* oklch */ color: oklch(40.6% 0.157 331.0);
Tailwind
colors: {
  custom: {
    50: '#a06298',
    500: '#751b6f',
    950: '#000000',
  },
}
SCSS
$custom: #751b6f;
$custom-light: #a06298;
$custom-dark: #000000;
JSON
{
  "hex": "#751b6f",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 304,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40588,
    "c": 0.15664,
    "h": 331
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#751B6F
secondary
#42A949
accent
#E64D42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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