#751978#751978

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

Color values

HEX#751978
RGBrgb(117, 25, 120)
HSLhsl(298, 66%, 28%)
HSVhsv(298, 79%, 47%)
CMYKcmyk(2.5%, 79.2%, 0%, 52.9%)
CIE-LABlab(28.99, 50.28, -32.82)
CIE-LCHlch(28.99, 60.05, 326.87°)
OKLaboklab(40.98% 0.1388 -0.0912)
OKLCHoklch(40.98% 0.166 326.7)
XYZxyz(11.0737, 5.8340, 18.3085)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751978 #1C7819
analogous
#451978 #751978 #78194B
triadic
#751978 #787519 #197875
tetradic
#751978 #784519 #1C7819 #194B78
square
#751978 #784519 #1C7819 #194B78
split-complementary
#751978 #4B7819 #197845
monochromatic
#190519 #440E45 #751978 #A624AB #D036D5

Accessibility & contrast

On white

9.69
#751978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#751978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751978
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751978#FFFFFF#000000##FFFFFF
##7519781.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751978;
/* rgb */ color: rgb(117, 25, 120);
/* oklch */ color: oklch(41.0% 0.166 326.7);
Tailwind
colors: {
  custom: {
    50: '#a0629f',
    500: '#751978',
    950: '#000000',
  },
}
SCSS
$custom: #751978;
$custom-light: #a0629f;
$custom-dark: #000000;
JSON
{
  "hex": "#751978",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 298.105,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.16607,
    "h": 326.7
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#751978
secondary
#44AD40
accent
#E83F45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751978

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

Preview Lab → · Contrast checker → · Palette generator →

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