#751F87#751F87

#751F87 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.173 H 320.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#751F87
RGBrgb(117, 31, 135)
HSLhsl(290, 63%, 33%)
HSVhsv(290, 77%, 53%)
CMYKcmyk(13.3%, 77%, 0%, 47.1%)
CIE-LABlab(30.67, 51.05, -39.56)
CIE-LCHlch(30.67, 64.58, 322.23°)
OKLaboklab(42.49% 0.1321 -0.1109)
OKLCHoklch(42.49% 0.173 320)
XYZxyz(12.1987, 6.5118, 23.5313)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F87 #31871F
analogous
#411F87 #751F87 #871F65
triadic
#751F87 #87751F #1F8775
tetradic
#751F87 #87411F #31871F #1F6587
square
#751F87 #87411F #31871F #1F6587
split-complementary
#751F87 #65871F #1F8741
monochromatic
#1F0823 #4A1455 #751F87 #A02AB9 #BE4BD6

Accessibility & contrast

On white

9.12
#751F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#751F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F87
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F87#FFFFFF#000000##FFFFFF
##751F871.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751f87;
/* rgb */ color: rgb(117, 31, 135);
/* oklch */ color: oklch(42.5% 0.173 320.0);
Tailwind
colors: {
  custom: {
    50: '#a065aa',
    500: '#751f87',
    950: '#000000',
  },
}
SCSS
$custom: #751f87;
$custom-light: #a065aa;
$custom-dark: #000000;
JSON
{
  "hex": "#751f87",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 289.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.17253,
    "h": 320
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#751F87
secondary
#5DB84A
accent
#E6425E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751F87

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

Preview Lab → · Contrast checker → · Palette generator →

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