#751F8E#751F8E

#751F8E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.179 H 317.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#751F8E
RGBrgb(117, 31, 142)
HSLhsl(286, 64%, 34%)
HSVhsv(286, 78%, 56%)
CMYKcmyk(17.6%, 78.2%, 0%, 44.3%)
CIE-LABlab(31.15, 52.44, -43.12)
CIE-LCHlch(31.15, 67.89, 320.57°)
OKLaboklab(42.98% 0.1313 -0.1214)
OKLCHoklch(42.98% 0.179 317.2)
XYZxyz(12.7079, 6.7154, 26.2128)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F8E #388E1F
analogous
#3D1F8E #751F8E #8E1F70
triadic
#751F8E #8E751F #1F8E75
tetradic
#751F8E #8E3D1F #388E1F #1F708E
square
#751F8E #8E3D1F #388E1F #1F708E
split-complementary
#751F8E #708E1F #1F8E3D
monochromatic
#22092A #4C145C #751F8E #9E2AC0 #BA4FD9

Accessibility & contrast

On white

8.96
#751F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751F8E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F8E#FFFFFF#000000##FFFFFF
##751F8E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#743756
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751f8e;
/* rgb */ color: rgb(117, 31, 142);
/* oklch */ color: oklch(43.0% 0.179 317.2);
Tailwind
colors: {
  custom: {
    50: '#a165b0',
    500: '#751f8e',
    950: '#000000',
  },
}
SCSS
$custom: #751f8e;
$custom-light: #a165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#751f8e",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 286.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.17879,
    "h": 317.2
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#751F8E
secondary
#66BB4D
accent
#E74166
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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