#751987#751987

#751987 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.179 H 320.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#751987
RGBrgb(117, 25, 135)
HSLhsl(290, 69%, 31%)
HSVhsv(290, 81%, 53%)
CMYKcmyk(13.3%, 81.5%, 0%, 47.1%)
CIE-LABlab(29.98, 53.04, -40.67)
CIE-LCHlch(29.98, 66.84, 322.52°)
OKLaboklab(42% 0.1374 -0.1142)
OKLCHoklch(42% 0.179 320.3)
XYZxyz(12.0564, 6.2271, 23.4839)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751987 #2B8719
analogous
#3E1987 #751987 #871962
triadic
#751987 #877519 #198775
tetradic
#751987 #873E19 #2B8719 #196287
square
#751987 #873E19 #2B8719 #196287
split-complementary
#751987 #628719 #19873E
monochromatic
#1B0620 #480F53 #751987 #A223BB #C23FDB

Accessibility & contrast

On white

9.35
#751987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#751987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751987
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751987#FFFFFF#000000##FFFFFF
##7519871.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#753150
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751987;
/* rgb */ color: rgb(117, 25, 135);
/* oklch */ color: oklch(42.0% 0.179 320.3);
Tailwind
colors: {
  custom: {
    50: '#a162ab',
    500: '#751987',
    950: '#000000',
  },
}
SCSS
$custom: #751987;
$custom-light: #a162ab;
$custom-dark: #000000;
JSON
{
  "hex": "#751987",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 290.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41999,
    "c": 0.17862,
    "h": 320.3
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#751987
secondary
#55BA41
accent
#EC3C59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751987

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

Preview Lab → · Contrast checker → · Palette generator →

#751987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva