#751F8B#751F8B

#751F8B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.176 H 318.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#751F8B
RGBrgb(117, 31, 139)
HSLhsl(288, 64%, 33%)
HSVhsv(288, 78%, 55%)
CMYKcmyk(15.8%, 77.7%, 0%, 45.5%)
CIE-LABlab(30.94, 51.84, -41.60)
CIE-LCHlch(30.94, 66.47, 321.25°)
OKLaboklab(42.77% 0.1317 -0.1169)
OKLCHoklch(42.77% 0.176 318.4)
XYZxyz(12.4857, 6.6265, 25.0425)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F8B #358B1F
analogous
#3F1F8B #751F8B #8B1F6B
triadic
#751F8B #8B751F #1F8B75
tetradic
#751F8B #8B3F1F #358B1F #1F6B8B
square
#751F8B #8B3F1F #358B1F #1F6B8B
split-complementary
#751F8B #6B8B1F #1F8B3F
monochromatic
#210927 #4B1459 #751F8B #9F2ABD #BB4DD7

Accessibility & contrast

On white

9.03
#751F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#751F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F8B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F8B#FFFFFF#000000##FFFFFF
##751F8B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#254B89
Tritanopia (blue-blind)
#743654
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751f8b;
/* rgb */ color: rgb(117, 31, 139);
/* oklch */ color: oklch(42.8% 0.176 318.4);
Tailwind
colors: {
  custom: {
    50: '#a065ad',
    500: '#751f8b',
    950: '#000000',
  },
}
SCSS
$custom: #751f8b;
$custom-light: #a065ad;
$custom-dark: #000000;
JSON
{
  "hex": "#751f8b",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 287.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.1761,
    "h": 318.4
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#751F8B
secondary
#62BA4C
accent
#E74163
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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