#751F7B#751F7B

#751F7B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.162 H 325.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#751F7B
RGBrgb(117, 31, 123)
HSLhsl(296, 60%, 30%)
HSVhsv(296, 75%, 48%)
CMYKcmyk(4.9%, 74.8%, 0%, 51.8%)
CIE-LABlab(29.89, 48.77, -33.28)
CIE-LCHlch(29.89, 59.04, 325.69°)
OKLaboklab(41.69% 0.1329 -0.0926)
OKLCHoklch(41.69% 0.162 325.1)
XYZxyz(11.4010, 6.1927, 19.3299)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F7B #257B1F
analogous
#471F7B #751F7B #7B1F53
triadic
#751F7B #7B751F #1F7B75
tetradic
#751F7B #7B471F #257B1F #1F537B
square
#751F7B #7B471F #257B1F #1F537B
split-complementary
#751F7B #537B1F #1F7B47
monochromatic
#180619 #47134A #751F7B #A32BAC #C744D0

Accessibility & contrast

On white

9.38
#751F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#751F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F7B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F7B#FFFFFF#000000##FFFFFF
##751F7B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407E
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#782F4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751f7b;
/* rgb */ color: rgb(117, 31, 123);
/* oklch */ color: oklch(41.7% 0.162 325.1);
Tailwind
colors: {
  custom: {
    50: '#a064a1',
    500: '#751f7b',
    950: '#000000',
  },
}
SCSS
$custom: #751f7b;
$custom-light: #a064a1;
$custom-dark: #000000;
JSON
{
  "hex": "#751f7b",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 296.087,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.162,
    "h": 325.1
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#751F7B
secondary
#4EAE48
accent
#E3454F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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