#751A7C#751A7C

#751A7C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.168 H 324.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#751A7C
RGBrgb(117, 26, 124)
HSLhsl(296, 65%, 29%)
HSVhsv(296, 79%, 49%)
CMYKcmyk(5.6%, 79%, 0%, 51.4%)
CIE-LABlab(29.35, 50.68, -34.77)
CIE-LCHlch(29.35, 61.46, 325.55°)
OKLaboklab(41.32% 0.1377 -0.0969)
OKLCHoklch(41.32% 0.168 324.9)
XYZxyz(11.3433, 5.9767, 19.6210)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A7C #217C1A
analogous
#441A7C #751A7C #7C1A52
triadic
#751A7C #7C751A #1A7C75
tetradic
#751A7C #7C441A #217C1A #1A527C
square
#751A7C #7C441A #217C1A #1A527C
split-complementary
#751A7C #527C1A #1A7C44
monochromatic
#180519 #450F49 #751A7C #A525AF #CB3BD6

Accessibility & contrast

On white

9.57
#751A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#751A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A7C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A7C#FFFFFF#000000##FFFFFF
##751A7C1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#782C4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751a7c;
/* rgb */ color: rgb(117, 26, 124);
/* oklch */ color: oklch(41.3% 0.168 324.9);
Tailwind
colors: {
  custom: {
    50: '#a062a2',
    500: '#751a7c',
    950: '#000000',
  },
}
SCSS
$custom: #751a7c;
$custom-light: #a062a2;
$custom-dark: #000000;
JSON
{
  "hex": "#751a7c",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 295.714,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.16836,
    "h": 324.9
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#751A7C
secondary
#4AB042
accent
#E8404C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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