#751F8C#751F8C

#751F8C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.177 H 318.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#751F8C
RGBrgb(117, 31, 140)
HSLhsl(287, 64%, 34%)
HSVhsv(287, 78%, 55%)
CMYKcmyk(16.4%, 77.9%, 0%, 45.1%)
CIE-LABlab(31.01, 52.04, -42.11)
CIE-LCHlch(31.01, 66.94, 321.02°)
OKLaboklab(42.84% 0.1315 -0.1184)
OKLCHoklch(42.84% 0.177 318)
XYZxyz(12.5591, 6.6559, 25.4290)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F8C #368C1F
analogous
#3E1F8C #751F8C #8C1F6C
triadic
#751F8C #8C751F #1F8C75
tetradic
#751F8C #8C3E1F #368C1F #1F6C8C
square
#751F8C #8C3E1F #368C1F #1F6C8C
split-complementary
#751F8C #6C8C1F #1F8C3E
monochromatic
#210928 #4B145A #751F8C #9F2ABE #BB4ED8

Accessibility & contrast

On white

9.01
#751F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#751F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F8C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F8C#FFFFFF#000000##FFFFFF
##751F8C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#743655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751f8c;
/* rgb */ color: rgb(117, 31, 140);
/* oklch */ color: oklch(42.8% 0.177 318.0);
Tailwind
colors: {
  custom: {
    50: '#a065ae',
    500: '#751f8c',
    950: '#000000',
  },
}
SCSS
$custom: #751f8c;
$custom-light: #a065ae;
$custom-dark: #000000;
JSON
{
  "hex": "#751f8c",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 287.339,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.177,
    "h": 318
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#751F8C
secondary
#64BB4C
accent
#E74164
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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