#751B9A#751B9A

#751B9A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.193 H 313.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#751B9A
RGBrgb(117, 27, 154)
HSLhsl(283, 70%, 35%)
HSVhsv(283, 82%, 60%)
CMYKcmyk(24%, 82.5%, 0%, 39.6%)
CIE-LABlab(31.58, 56.19, -49.80)
CIE-LCHlch(31.58, 75.08, 318.45°)
OKLaboklab(43.56% 0.1323 -0.141)
OKLCHoklch(43.56% 0.193 313.2)
XYZxyz(13.5597, 6.8993, 31.1830)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B9A #409A1B
analogous
#361B9A #751B9A #9A1B7F
triadic
#751B9A #9A751B #1B9A75
tetradic
#751B9A #9A361B #409A1B #1B7F9A
square
#751B9A #9A361B #409A1B #1B7F9A
split-complementary
#751B9A #7F9A1B #1B9A36
monochromatic
#260932 #4D1266 #751B9A #9D24CE #B64FE0

Accessibility & contrast

On white

8.82
#751B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#751B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B9A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B9A#FFFFFF#000000##FFFFFF
##751B9A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#044C97
Tritanopia (blue-blind)
#713B5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #751b9a;
/* rgb */ color: rgb(117, 27, 154);
/* oklch */ color: oklch(43.6% 0.193 313.2);
Tailwind
colors: {
  custom: {
    50: '#a164b9',
    500: '#751b9a',
    950: '#000000',
  },
}
SCSS
$custom: #751b9a;
$custom-light: #a164b9;
$custom-dark: #000000;
JSON
{
  "hex": "#751b9a",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 282.52,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4356,
    "c": 0.19335,
    "h": 313.2
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#751B9A
secondary
#70C34E
accent
#ED3B6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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