#751B7C#751B7C

#751B7C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.167 H 324.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#751B7C
RGBrgb(117, 27, 124)
HSLhsl(296, 64%, 30%)
HSVhsv(296, 78%, 49%)
CMYKcmyk(5.6%, 78.2%, 0%, 51.4%)
CIE-LABlab(29.47, 50.35, -34.59)
CIE-LCHlch(29.47, 61.09, 325.51°)
OKLaboklab(41.4% 0.1368 -0.0964)
OKLCHoklch(41.4% 0.167 324.8)
XYZxyz(11.3659, 6.0218, 19.6285)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B7C #227C1B
analogous
#451B7C #751B7C #7C1B53
triadic
#751B7C #7C751B #1B7C75
tetradic
#751B7C #7C451B #227C1B #1B537C
square
#751B7C #7C451B #227C1B #1B537C
split-complementary
#751B7C #537C1B #1B7C45
monochromatic
#180519 #46104A #751B7C #A426AE #CA3DD5

Accessibility & contrast

On white

9.53
#751B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751B7C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B7C#FFFFFF#000000##FFFFFF
##751B7C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751b7c;
/* rgb */ color: rgb(117, 27, 124);
/* oklch */ color: oklch(41.4% 0.167 324.8);
Tailwind
colors: {
  custom: {
    50: '#a063a2',
    500: '#751b7c',
    950: '#000000',
  },
}
SCSS
$custom: #751b7c;
$custom-light: #a063a2;
$custom-dark: #000000;
JSON
{
  "hex": "#751b7c",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 295.67,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.16732,
    "h": 324.8
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#751B7C
secondary
#4BB043
accent
#E7414D
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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