#751B94#751B94

#751B94 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.188 H 315.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#751B94
RGBrgb(117, 27, 148)
HSLhsl(285, 69%, 34%)
HSVhsv(285, 82%, 58%)
CMYKcmyk(20.9%, 81.8%, 0%, 42%)
CIE-LABlab(31.12, 54.97, -46.86)
CIE-LCHlch(31.12, 72.23, 319.55°)
OKLaboklab(43.1% 0.1336 -0.1323)
OKLCHoklch(43.1% 0.188 315.3)
XYZxyz(13.0725, 6.7044, 28.6167)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B94 #3A941B
analogous
#391B94 #751B94 #941B77
triadic
#751B94 #94751B #1B9475
tetradic
#751B94 #94391B #3A941B #1B7794
square
#751B94 #94391B #3A941B #1B7794
split-complementary
#751B94 #77941B #1B9439
monochromatic
#23082C #4C1260 #751B94 #9E24C8 #B94BDE

Accessibility & contrast

On white

8.97
#751B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#751B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B94
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B94#FFFFFF#000000##FFFFFF
##751B941.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#154B92
Tritanopia (blue-blind)
#723858
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751b94;
/* rgb */ color: rgb(117, 27, 148);
/* oklch */ color: oklch(43.1% 0.188 315.3);
Tailwind
colors: {
  custom: {
    50: '#a164b4',
    500: '#751b94',
    950: '#000000',
  },
}
SCSS
$custom: #751b94;
$custom-light: #a164b4;
$custom-dark: #000000;
JSON
{
  "hex": "#751b94",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 284.628,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43101,
    "c": 0.18805,
    "h": 315.3
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#751B94
secondary
#69C04B
accent
#EC3C69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751B94

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

Preview Lab → · Contrast checker → · Palette generator →

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