#751F78#751F78

#751F78 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.159 H 326.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#751F78
RGBrgb(117, 31, 120)
HSLhsl(298, 59%, 30%)
HSVhsv(298, 74%, 47%)
CMYKcmyk(2.5%, 74.2%, 0%, 52.9%)
CIE-LABlab(29.71, 48.22, -31.67)
CIE-LCHlch(29.71, 57.69, 326.70°)
OKLaboklab(41.5% 0.133 -0.0879)
OKLCHoklch(41.5% 0.159 326.5)
XYZxyz(11.2161, 6.1187, 18.3559)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F78 #22781F
analogous
#491F78 #751F78 #781F4E
triadic
#751F78 #78751F #1F7875
tetradic
#751F78 #78491F #22781F #1F4E78
square
#751F78 #78491F #22781F #1F4E78
split-complementary
#751F78 #4E781F #1F7849
monochromatic
#180618 #461247 #751F78 #A42CA9 #CA43CE

Accessibility & contrast

On white

9.44
#751F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#751F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F78
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F78#FFFFFF#000000##FFFFFF
##751F781.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3F7A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#782D49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751f78;
/* rgb */ color: rgb(117, 31, 120);
/* oklch */ color: oklch(41.5% 0.159 326.5);
Tailwind
colors: {
  custom: {
    50: '#a0649f',
    500: '#751f78',
    950: '#000000',
  },
}
SCSS
$custom: #751f78;
$custom-light: #a0649f;
$custom-dark: #000000;
JSON
{
  "hex": "#751f78",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 297.978,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.15944,
    "h": 326.5
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#751F78
secondary
#4BAB47
accent
#E2464B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751F78

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

Preview Lab → · Contrast checker → · Palette generator →

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