#751A7F#751A7F

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

Color values

HEX#751A7F
RGBrgb(117, 26, 127)
HSLhsl(294, 66%, 30%)
HSVhsv(294, 80%, 50%)
CMYKcmyk(7.9%, 79.5%, 0%, 50.2%)
CIE-LABlab(29.55, 51.23, -36.35)
CIE-LCHlch(29.55, 62.82, 324.64°)
OKLaboklab(41.52% 0.1374 -0.1015)
OKLCHoklch(41.52% 0.171 323.5)
XYZxyz(11.5359, 6.0537, 20.6354)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A7F #247F1A
analogous
#421A7F #751A7F #7F1A57
triadic
#751A7F #7F751A #1A7F75
tetradic
#751A7F #7F421A #247F1A #1A577F
square
#751A7F #7F421A #247F1A #1A577F
split-complementary
#751A7F #577F1A #1A7F42
monochromatic
#170519 #46104C #751A7F #A424B2 #C83CD7

Accessibility & contrast

On white

9.50
#751A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#751A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A7F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A7F#FFFFFF#000000##FFFFFF
##751A7F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#772E4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751a7f;
/* rgb */ color: rgb(117, 26, 127);
/* oklch */ color: oklch(41.5% 0.171 323.5);
Tailwind
colors: {
  custom: {
    50: '#a062a5',
    500: '#751a7f',
    950: '#000000',
  },
}
SCSS
$custom: #751a7f;
$custom-light: #a062a5;
$custom-dark: #000000;
JSON
{
  "hex": "#751a7f",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 294.059,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41523,
    "c": 0.17087,
    "h": 323.5
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#751A7F
secondary
#4DB342
accent
#E93F50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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