#751D87#751D87

#751D87 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.175 H 320.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#751D87
RGBrgb(117, 29, 135)
HSLhsl(290, 65%, 32%)
HSVhsv(290, 79%, 53%)
CMYKcmyk(13.3%, 78.5%, 0%, 47.1%)
CIE-LABlab(30.43, 51.75, -39.95)
CIE-LCHlch(30.43, 65.38, 322.33°)
OKLaboklab(42.32% 0.134 -0.1121)
OKLCHoklch(42.32% 0.175 320.1)
XYZxyz(12.1481, 6.4105, 23.5144)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D87 #2F871D
analogous
#401D87 #751D87 #871D64
triadic
#751D87 #87751D #1D8775
tetradic
#751D87 #87401D #2F871D #1D6487
square
#751D87 #87401D #2F871D #1D6487
split-complementary
#751D87 #64871D #1D8740
monochromatic
#1E0722 #491255 #751D87 #A128B9 #BF47D7

Accessibility & contrast

On white

9.20
#751D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#751D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751D87
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D87#FFFFFF#000000##FFFFFF
##751D871.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#274B85
Tritanopia (blue-blind)
#753351
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751d87;
/* rgb */ color: rgb(117, 29, 135);
/* oklch */ color: oklch(42.3% 0.175 320.1);
Tailwind
colors: {
  custom: {
    50: '#a064aa',
    500: '#751d87',
    950: '#000000',
  },
}
SCSS
$custom: #751d87;
$custom-light: #a064aa;
$custom-dark: #000000;
JSON
{
  "hex": "#751d87",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 289.811,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.17467,
    "h": 320.1
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#751D87
secondary
#5AB946
accent
#E8405D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751D87

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

Preview Lab → · Contrast checker → · Palette generator →

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