#751D9C#751D9C

#751D9C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.193 H 312.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#751D9C
RGBrgb(117, 29, 156)
HSLhsl(282, 69%, 36%)
HSVhsv(282, 81%, 61%)
CMYKcmyk(25%, 81.4%, 0%, 38.8%)
CIE-LABlab(31.95, 55.97, -50.42)
CIE-LCHlch(31.95, 75.33, 317.99°)
OKLaboklab(43.87% 0.1303 -0.1428)
OKLCHoklch(43.87% 0.193 312.4)
XYZxyz(13.7751, 7.0613, 32.0834)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D9C #449C1D
analogous
#361D9C #751D9C #9C1D84
triadic
#751D9C #9C751D #1D9C75
tetradic
#751D9C #9C361D #449C1D #1D849C
square
#751D9C #9C361D #449C1D #1D849C
split-complementary
#751D9C #849C1D #1D9C36
monochromatic
#280A35 #4E1368 #751D9C #9C27D0 #B554DF

Accessibility & contrast

On white

8.71
#751D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#751D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751D9C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D9C#FFFFFF#000000##FFFFFF
##751D9C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004D99
Tritanopia (blue-blind)
#703D5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751d9c;
/* rgb */ color: rgb(117, 29, 156);
/* oklch */ color: oklch(43.9% 0.193 312.4);
Tailwind
colors: {
  custom: {
    50: '#a165ba',
    500: '#751d9c',
    950: '#000000',
  },
}
SCSS
$custom: #751d9c;
$custom-light: #a165ba;
$custom-dark: #000000;
JSON
{
  "hex": "#751d9c",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 281.575,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.19335,
    "h": 312.4
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#751D9C
secondary
#75C252
accent
#EB3C72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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