#751B7E#751B7E

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

Color values

HEX#751B7E
RGBrgb(117, 27, 126)
HSLhsl(295, 65%, 30%)
HSVhsv(295, 79%, 49%)
CMYKcmyk(7.1%, 78.6%, 0%, 50.6%)
CIE-LABlab(29.60, 50.72, -35.64)
CIE-LCHlch(29.60, 61.99, 324.90°)
OKLaboklab(41.54% 0.1366 -0.0995)
OKLCHoklch(41.54% 0.169 323.9)
XYZxyz(11.4936, 6.0729, 20.3014)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B7E #247E1B
analogous
#431B7E #751B7E #7E1B56
triadic
#751B7E #7E751B #1B7E75
tetradic
#751B7E #7E431B #247E1B #1B567E
square
#751B7E #7E431B #247E1B #1B567E
split-complementary
#751B7E #567E1B #1B7E43
monochromatic
#170519 #46104C #751B7E #A426B0 #C83ED6

Accessibility & contrast

On white

9.48
#751B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751B7E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B7E#FFFFFF#000000##FFFFFF
##751B7E1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751b7e;
/* rgb */ color: rgb(117, 27, 126);
/* oklch */ color: oklch(41.5% 0.169 323.9);
Tailwind
colors: {
  custom: {
    50: '#a063a4',
    500: '#751b7e',
    950: '#000000',
  },
}
SCSS
$custom: #751b7e;
$custom-light: #a063a4;
$custom-dark: #000000;
JSON
{
  "hex": "#751b7e",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 294.545,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41536,
    "c": 0.169,
    "h": 323.9
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#751B7E
secondary
#4DB243
accent
#E8404F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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