#751F9E#751F9E

#751F9E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.193 H 311.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#751F9E
RGBrgb(117, 31, 158)
HSLhsl(281, 67%, 37%)
HSVhsv(281, 80%, 62%)
CMYKcmyk(25.9%, 80.4%, 0%, 38%)
CIE-LABlab(32.33, 55.73, -51.02)
CIE-LCHlch(32.33, 75.56, 317.53°)
OKLaboklab(44.18% 0.1283 -0.1446)
OKLCHoklch(44.18% 0.193 311.6)
XYZxyz(13.9965, 7.2309, 32.9995)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F9E #489E1F
analogous
#361F9E #751F9E #9E1F88
triadic
#751F9E #9E751F #1F9E75
tetradic
#751F9E #9E361F #489E1F #1F889E
square
#751F9E #9E361F #489E1F #1F889E
split-complementary
#751F9E #889E1F #1F9E36
monochromatic
#290B38 #4F156B #751F9E #9B29D1 #B359DE

Accessibility & contrast

On white

8.58
#751F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#751F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F9E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F9E#FFFFFF#000000##FFFFFF
##751F9E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#703F5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #751f9e;
/* rgb */ color: rgb(117, 31, 158);
/* oklch */ color: oklch(44.2% 0.193 311.6);
Tailwind
colors: {
  custom: {
    50: '#a166bb',
    500: '#751f9e',
    950: '#000000',
  },
}
SCSS
$custom: #751f9e;
$custom-light: #a166bb;
$custom-dark: #000000;
JSON
{
  "hex": "#751f9e",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 280.63,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.19331,
    "h": 311.6
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#751F9E
secondary
#79C256
accent
#EA3E75
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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