#751F7A#751F7A

#751F7A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.161 H 325.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#751F7A
RGBrgb(117, 31, 122)
HSLhsl(297, 59%, 30%)
HSVhsv(297, 75%, 48%)
CMYKcmyk(4.1%, 74.6%, 0%, 52.2%)
CIE-LABlab(29.83, 48.59, -32.75)
CIE-LCHlch(29.83, 58.59, 326.02°)
OKLaboklab(41.62% 0.133 -0.0911)
OKLCHoklch(41.62% 0.161 325.6)
XYZxyz(11.3387, 6.1678, 19.0019)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F7A #247A1F
analogous
#471F7A #751F7A #7A1F52
triadic
#751F7A #7A751F #1F7A75
tetradic
#751F7A #7A471F #247A1F #1F527A
square
#751F7A #7A471F #247A1F #1F527A
split-complementary
#751F7A #527A1F #1F7A47
monochromatic
#170618 #461349 #751F7A #A42BAB #C844CF

Accessibility & contrast

On white

9.40
#751F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#751F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F7A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F7A#FFFFFF#000000##FFFFFF
##751F7A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7D
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#782E4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751f7a;
/* rgb */ color: rgb(117, 31, 122);
/* oklch */ color: oklch(41.6% 0.161 325.6);
Tailwind
colors: {
  custom: {
    50: '#a064a1',
    500: '#751f7a',
    950: '#000000',
  },
}
SCSS
$custom: #751f7a;
$custom-light: #a064a1;
$custom-dark: #000000;
JSON
{
  "hex": "#751f7a",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 296.703,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.16115,
    "h": 325.6
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#751F7A
secondary
#4DAD47
accent
#E3454E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #751F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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