#751E8B#751E8B

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

Color values

HEX#751E8B
RGBrgb(117, 30, 139)
HSLhsl(288, 64%, 33%)
HSVhsv(288, 78%, 55%)
CMYKcmyk(15.8%, 78.4%, 0%, 45.5%)
CIE-LABlab(30.82, 52.19, -41.80)
CIE-LCHlch(30.82, 66.87, 321.31°)
OKLaboklab(42.68% 0.1326 -0.1175)
OKLCHoklch(42.68% 0.177 318.4)
XYZxyz(12.4600, 6.5751, 25.0339)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E8B #348B1E
analogous
#3E1E8B #751E8B #8B1E6A
triadic
#751E8B #8B751E #1E8B75
tetradic
#751E8B #8B3E1E #348B1E #1E6A8B
square
#751E8B #8B3E1E #348B1E #1E6A8B
split-complementary
#751E8B #6A8B1E #1E8B3E
monochromatic
#200826 #4B1359 #751E8B #9F29BD #BC4BD8

Accessibility & contrast

On white

9.07
#751E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#751E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E8B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E8B#FFFFFF#000000##FFFFFF
##751E8B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751e8b;
/* rgb */ color: rgb(117, 30, 139);
/* oklch */ color: oklch(42.7% 0.177 318.4);
Tailwind
colors: {
  custom: {
    50: '#a064ad',
    500: '#751e8b',
    950: '#000000',
  },
}
SCSS
$custom: #751e8b;
$custom-light: #a064ad;
$custom-dark: #000000;
JSON
{
  "hex": "#751e8b",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 287.89,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.17715,
    "h": 318.4
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#751E8B
secondary
#61BB4A
accent
#E74062
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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