#751B7F#751B7F

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

Color values

HEX#751B7F
RGBrgb(117, 27, 127)
HSLhsl(294, 65%, 30%)
HSVhsv(294, 79%, 50%)
CMYKcmyk(7.9%, 78.7%, 0%, 50.2%)
CIE-LABlab(29.66, 50.91, -36.17)
CIE-LCHlch(29.66, 62.45, 324.61°)
OKLaboklab(41.6% 0.1366 -0.101)
OKLCHoklch(41.6% 0.17 323.5)
XYZxyz(11.5585, 6.0988, 20.6429)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B7F #257F1B
analogous
#431B7F #751B7F #7F1B57
triadic
#751B7F #7F751B #1B7F75
tetradic
#751B7F #7F431B #257F1B #1B577F
square
#751B7F #7F431B #257F1B #1B577F
split-complementary
#751B7F #577F1B #1B7F43
monochromatic
#18061A #47104D #751B7F #A326B1 #C73ED6

Accessibility & contrast

On white

9.46
#751B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#751B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B7F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B7F#FFFFFF#000000##FFFFFF
##751B7F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.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: #751b7f;
/* rgb */ color: rgb(117, 27, 127);
/* oklch */ color: oklch(41.6% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#a063a5',
    500: '#751b7f',
    950: '#000000',
  },
}
SCSS
$custom: #751b7f;
$custom-light: #a063a5;
$custom-dark: #000000;
JSON
{
  "hex": "#751b7f",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 294,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.16985,
    "h": 323.5
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#751B7F
secondary
#4EB343
accent
#E84051
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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