#751F9B#751F9B

#751F9B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.191 H 312.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#751F9B
RGBrgb(117, 31, 155)
HSLhsl(282, 67%, 36%)
HSVhsv(282, 80%, 61%)
CMYKcmyk(24.5%, 80%, 0%, 39.2%)
CIE-LABlab(32.10, 55.10, -49.57)
CIE-LCHlch(32.10, 74.11, 318.03°)
OKLaboklab(43.95% 0.129 -0.1403)
OKLCHoklch(43.95% 0.191 312.6)
XYZxyz(13.7414, 7.1289, 31.6561)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F9B #459B1F
analogous
#371F9B #751F9B #9B1F83
triadic
#751F9B #9B751F #1F9B75
tetradic
#751F9B #9B371F #459B1F #1F839B
square
#751F9B #9B371F #459B1F #1F839B
split-complementary
#751F9B #839B1F #1F9B37
monochromatic
#280B35 #4F1568 #751F9B #9B29CE #B457DD

Accessibility & contrast

On white

8.66
#751F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#751F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F9B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F9B#FFFFFF#000000##FFFFFF
##751F9B1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#084D98
Tritanopia (blue-blind)
#713D5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751f9b;
/* rgb */ color: rgb(117, 31, 155);
/* oklch */ color: oklch(44.0% 0.191 312.6);
Tailwind
colors: {
  custom: {
    50: '#a166b9',
    500: '#751f9b',
    950: '#000000',
  },
}
SCSS
$custom: #751f9b;
$custom-light: #a166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#751f9b",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 281.613,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.19057,
    "h": 312.6
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#751F9B
secondary
#76C155
accent
#EA3E73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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