#751B7D#751B7D

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

Color values

HEX#751B7D
RGBrgb(117, 27, 125)
HSLhsl(295, 64%, 30%)
HSVhsv(295, 78%, 49%)
CMYKcmyk(6.4%, 78.4%, 0%, 51%)
CIE-LABlab(29.53, 50.54, -35.12)
CIE-LCHlch(29.53, 61.54, 325.20°)
OKLaboklab(41.47% 0.1367 -0.0979)
OKLCHoklch(41.47% 0.168 324.4)
XYZxyz(11.4294, 6.0472, 19.9633)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B7D #237D1B
analogous
#441B7D #751B7D #7D1B54
triadic
#751B7D #7D751B #1B7D75
tetradic
#751B7D #7D441B #237D1B #1B547D
square
#751B7D #7D441B #237D1B #1B547D
split-complementary
#751B7D #547D1B #1B7D44
monochromatic
#180519 #46104B #751B7D #A426AF #C93DD5

Accessibility & contrast

On white

9.51
#751B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751B7D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B7D#FFFFFF#000000##FFFFFF
##751B7D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#2F497B
Tritanopia (blue-blind)
#772D4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751b7d;
/* rgb */ color: rgb(117, 27, 125);
/* oklch */ color: oklch(41.5% 0.168 324.4);
Tailwind
colors: {
  custom: {
    50: '#a063a3',
    500: '#751b7d',
    950: '#000000',
  },
}
SCSS
$custom: #751b7d;
$custom-light: #a063a3;
$custom-dark: #000000;
JSON
{
  "hex": "#751b7d",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 295.102,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.16816,
    "h": 324.4
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#751B7D
secondary
#4CB143
accent
#E7404E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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