#751F7E#751F7E

#751F7E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.165 H 323.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#751F7E
RGBrgb(117, 31, 126)
HSLhsl(294, 61%, 31%)
HSVhsv(294, 75%, 49%)
CMYKcmyk(7.1%, 75.4%, 0%, 50.6%)
CIE-LABlab(30.08, 49.33, -34.87)
CIE-LCHlch(30.08, 60.41, 324.75°)
OKLaboklab(41.88% 0.1328 -0.0972)
OKLCHoklch(41.88% 0.165 323.8)
XYZxyz(11.5917, 6.2689, 20.3341)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F7E #287E1F
analogous
#451F7E #751F7E #7E1F57
triadic
#751F7E #7E751F #1F7E75
tetradic
#751F7E #7E451F #287E1F #1F577E
square
#751F7E #7E451F #287E1F #1F577E
split-complementary
#751F7E #577E1F #1F7E45
monochromatic
#1A071C #47134D #751F7E #A32BAF #C446D1

Accessibility & contrast

On white

9.32
#751F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#751F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F7E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F7E#FFFFFF#000000##FFFFFF
##751F7E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#77304D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751f7e;
/* rgb */ color: rgb(117, 31, 126);
/* oklch */ color: oklch(41.9% 0.165 323.8);
Tailwind
colors: {
  custom: {
    50: '#a064a4',
    500: '#751f7e',
    950: '#000000',
  },
}
SCSS
$custom: #751f7e;
$custom-light: #a064a4;
$custom-dark: #000000;
JSON
{
  "hex": "#751f7e",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 294.316,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.16461,
    "h": 323.8
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#751F7E
secondary
#52B148
accent
#E44453
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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