#751778#751778

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

Color values

HEX#751778
RGBrgb(117, 23, 120)
HSLhsl(298, 68%, 28%)
HSVhsv(298, 81%, 47%)
CMYKcmyk(2.5%, 80.8%, 0%, 52.9%)
CIE-LABlab(28.78, 50.90, -33.16)
CIE-LCHlch(28.78, 60.75, 326.92°)
OKLaboklab(40.83% 0.1405 -0.0922)
OKLCHoklch(40.83% 0.168 326.7)
XYZxyz(11.0325, 5.7516, 18.2947)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751778 #1A7817
analogous
#441778 #751778 #78174A
triadic
#751778 #787517 #177875
tetradic
#751778 #784417 #1A7817 #174A78
square
#751778 #784417 #1A7817 #174A78
split-complementary
#751778 #4A7817 #177844
monochromatic
#19051A #430D45 #751778 #A721AB #D332D8

Accessibility & contrast

On white

9.77
#751778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#751778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751778
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751778#FFFFFF#000000##FFFFFF
##7517781.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#304876
Tritanopia (blue-blind)
#782947
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #751778;
/* rgb */ color: rgb(117, 23, 120);
/* oklch */ color: oklch(40.8% 0.168 326.7);
Tailwind
colors: {
  custom: {
    50: '#a0619f',
    500: '#751778',
    950: '#000000',
  },
}
SCSS
$custom: #751778;
$custom-light: #a0619f;
$custom-dark: #000000;
JSON
{
  "hex": "#751778",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 298.144,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40831,
    "c": 0.16804,
    "h": 326.7
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#751778
secondary
#41AD3E
accent
#EB3D42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751778

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

Preview Lab → · Contrast checker → · Palette generator →

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