#751F9F#751F9F

#751F9F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.194 H 311.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#751F9F
RGBrgb(117, 31, 159)
HSLhsl(280, 67%, 37%)
HSVhsv(280, 81%, 62%)
CMYKcmyk(26.4%, 80.5%, 0%, 37.6%)
CIE-LABlab(32.40, 55.94, -51.50)
CIE-LCHlch(32.40, 76.04, 317.37°)
OKLaboklab(44.26% 0.1281 -0.146)
OKLCHoklch(44.26% 0.194 311.3)
XYZxyz(14.0829, 7.2654, 33.4547)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F9F #499F1F
analogous
#351F9F #751F9F #9F1F89
triadic
#751F9F #9F751F #1F9F75
tetradic
#751F9F #9F351F #499F1F #1F899F
square
#751F9F #9F351F #499F1F #1F899F
split-complementary
#751F9F #899F1F #1F9F35
monochromatic
#2A0B39 #4F156C #751F9F #9B29D2 #B35ADF

Accessibility & contrast

On white

8.56
#751F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751F9F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F9F#FFFFFF#000000##FFFFFF
##751F9F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#6F3F5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #751f9f;
/* rgb */ color: rgb(117, 31, 159);
/* oklch */ color: oklch(44.3% 0.194 311.3);
Tailwind
colors: {
  custom: {
    50: '#a266bc',
    500: '#751f9f',
    950: '#000000',
  },
}
SCSS
$custom: #751f9f;
$custom-light: #a266bc;
$custom-dark: #000000;
JSON
{
  "hex": "#751f9f",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 280.313,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.19423,
    "h": 311.3
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#751F9F
secondary
#7AC357
accent
#EA3E76
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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