#751F8D#751F8D

#751F8D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.178 H 317.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#751F8D
RGBrgb(117, 31, 141)
HSLhsl(287, 64%, 34%)
HSVhsv(287, 78%, 55%)
CMYKcmyk(17%, 78%, 0%, 44.7%)
CIE-LABlab(31.08, 52.24, -42.62)
CIE-LCHlch(31.08, 67.42, 320.79°)
OKLaboklab(42.91% 0.1314 -0.1199)
OKLCHoklch(42.91% 0.178 317.6)
XYZxyz(12.6331, 6.6855, 25.8191)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F8D #378D1F
analogous
#3E1F8D #751F8D #8D1F6E
triadic
#751F8D #8D751F #1F8D75
tetradic
#751F8D #8D3E1F #378D1F #1F6E8D
square
#751F8D #8D3E1F #378D1F #1F6E8D
split-complementary
#751F8D #6E8D1F #1F8D3E
monochromatic
#220929 #4B145B #751F8D #9F2ABF #BA4ED8

Accessibility & contrast

On white

8.99
#751F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#751F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F8D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F8D#FFFFFF#000000##FFFFFF
##751F8D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#743755
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751f8d;
/* rgb */ color: rgb(117, 31, 141);
/* oklch */ color: oklch(42.9% 0.178 317.6);
Tailwind
colors: {
  custom: {
    50: '#a165af',
    500: '#751f8d',
    950: '#000000',
  },
}
SCSS
$custom: #751f8d;
$custom-light: #a165af;
$custom-dark: #000000;
JSON
{
  "hex": "#751f8d",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 286.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.17789,
    "h": 317.6
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#751F8D
secondary
#65BB4D
accent
#E74165
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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