#751B9B#751B9B

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

Color values

HEX#751B9B
RGBrgb(117, 27, 155)
HSLhsl(282, 70%, 36%)
HSVhsv(282, 83%, 61%)
CMYKcmyk(24.5%, 82.6%, 0%, 39.2%)
CIE-LABlab(31.65, 56.39, -50.29)
CIE-LCHlch(31.65, 75.56, 318.28°)
OKLaboklab(43.64% 0.1321 -0.1424)
OKLCHoklch(43.64% 0.194 312.8)
XYZxyz(13.6434, 6.9328, 31.6235)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751B9B #419B1B
analogous
#351B9B #751B9B #9B1B81
triadic
#751B9B #9B751B #1B9B75
tetradic
#751B9B #9B351B #419B1B #1B819B
square
#751B9B #9B351B #419B1B #1B819B
split-complementary
#751B9B #819B1B #1B9B35
monochromatic
#260933 #4E1267 #751B9B #9C24CF #B650E0

Accessibility & contrast

On white

8.80
#751B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#751B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751B9B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751B9B#FFFFFF#000000##FFFFFF
##751B9B1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#713C5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #751b9b;
/* rgb */ color: rgb(117, 27, 155);
/* oklch */ color: oklch(43.6% 0.194 312.8);
Tailwind
colors: {
  custom: {
    50: '#a164b9',
    500: '#751b9b',
    950: '#000000',
  },
}
SCSS
$custom: #751b9b;
$custom-light: #a164b9;
$custom-dark: #000000;
JSON
{
  "hex": "#751b9b",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 282.188,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.19424,
    "h": 312.8
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#751B9B
secondary
#71C34F
accent
#ED3B70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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