#751F9A#751F9A

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

Color values

HEX#751F9A
RGBrgb(117, 31, 154)
HSLhsl(282, 66%, 36%)
HSVhsv(282, 80%, 60%)
CMYKcmyk(24%, 79.9%, 0%, 39.6%)
CIE-LABlab(32.02, 54.89, -49.08)
CIE-LCHlch(32.02, 73.63, 318.20°)
OKLaboklab(43.87% 0.1291 -0.1389)
OKLCHoklch(43.87% 0.19 312.9)
XYZxyz(13.6578, 7.0954, 31.2157)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F9A #449A1F
analogous
#381F9A #751F9A #9A1F82
triadic
#751F9A #9A751F #1F9A75
tetradic
#751F9A #9A381F #449A1F #1F829A
square
#751F9A #9A381F #449A1F #1F829A
split-complementary
#751F9A #829A1F #1F9A38
monochromatic
#280A34 #4E1567 #751F9A #9C29CD #B556DD

Accessibility & contrast

On white

8.68
#751F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#751F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F9A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F9A#FFFFFF#000000##FFFFFF
##751F9A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#0B4D97
Tritanopia (blue-blind)
#713D5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751f9a;
/* rgb */ color: rgb(117, 31, 154);
/* oklch */ color: oklch(43.9% 0.190 312.9);
Tailwind
colors: {
  custom: {
    50: '#a166b9',
    500: '#751f9a',
    950: '#000000',
  },
}
SCSS
$custom: #751f9a;
$custom-light: #a166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#751f9a",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 281.951,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.18965,
    "h": 312.9
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#751F9A
secondary
#75C154
accent
#E93E72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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