#751879#751879

#751879 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.168 H 326.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#751879
RGBrgb(117, 24, 121)
HSLhsl(298, 67%, 28%)
HSVhsv(298, 80%, 47%)
CMYKcmyk(3.3%, 80.2%, 0%, 52.5%)
CIE-LABlab(28.94, 50.77, -33.53)
CIE-LCHlch(28.94, 60.84, 326.56°)
OKLaboklab(40.97% 0.1396 -0.0933)
OKLCHoklch(40.97% 0.168 326.3)
XYZxyz(11.1137, 5.8164, 18.6228)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751879 #1C7918
analogous
#441879 #751879 #79184C
triadic
#751879 #797518 #187975
tetradic
#751879 #794418 #1C7918 #184C79
square
#751879 #794418 #1C7918 #184C79
split-complementary
#751879 #4C7918 #187944
monochromatic
#19051A #440E46 #751879 #A622AC #D035D7

Accessibility & contrast

On white

9.71
#751879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#751879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751879
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751879#FFFFFF#000000##FFFFFF
##7518791.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#304877
Tritanopia (blue-blind)
#782A48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751879;
/* rgb */ color: rgb(117, 24, 121);
/* oklch */ color: oklch(41.0% 0.168 326.3);
Tailwind
colors: {
  custom: {
    50: '#a061a0',
    500: '#751879',
    950: '#000000',
  },
}
SCSS
$custom: #751879;
$custom-light: #a061a0;
$custom-dark: #000000;
JSON
{
  "hex": "#751879",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 297.526,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.16788,
    "h": 326.3
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#751879
secondary
#44AE3F
accent
#EA3E45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #751879

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

Preview Lab → · Contrast checker → · Palette generator →

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