#751F9C#751F9C

#751F9C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.191 H 312.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#751F9C
RGBrgb(117, 31, 156)
HSLhsl(281, 67%, 37%)
HSVhsv(281, 80%, 61%)
CMYKcmyk(25%, 80.1%, 0%, 38.8%)
CIE-LABlab(32.17, 55.31, -50.05)
CIE-LCHlch(32.17, 74.59, 317.86°)
OKLaboklab(44.03% 0.1287 -0.1417)
OKLCHoklch(44.03% 0.191 312.2)
XYZxyz(13.8257, 7.1626, 32.1003)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F9C #469C1F
analogous
#371F9C #751F9C #9C1F85
triadic
#751F9C #9C751F #1F9C75
tetradic
#751F9C #9C371F #469C1F #1F859C
square
#751F9C #9C371F #469C1F #1F859C
split-complementary
#751F9C #859C1F #1F9C37
monochromatic
#280B36 #4F1569 #751F9C #9B29CF #B458DE

Accessibility & contrast

On white

8.63
#751F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#751F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F9C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F9C#FFFFFF#000000##FFFFFF
##751F9C1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#044D99
Tritanopia (blue-blind)
#703E5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #751f9c;
/* rgb */ color: rgb(117, 31, 156);
/* oklch */ color: oklch(44.0% 0.191 312.2);
Tailwind
colors: {
  custom: {
    50: '#a166ba',
    500: '#751f9c',
    950: '#000000',
  },
}
SCSS
$custom: #751f9c;
$custom-light: #a166ba;
$custom-dark: #000000;
JSON
{
  "hex": "#751f9c",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 281.28,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.19149,
    "h": 312.2
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#751F9C
secondary
#77C155
accent
#EA3E74
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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