#751878#751878

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

Color values

HEX#751878
RGBrgb(117, 24, 120)
HSLhsl(298, 67%, 28%)
HSVhsv(298, 80%, 47%)
CMYKcmyk(2.5%, 80%, 0%, 52.9%)
CIE-LABlab(28.88, 50.60, -32.99)
CIE-LCHlch(28.88, 60.40, 326.89°)
OKLaboklab(40.91% 0.1396 -0.0917)
OKLCHoklch(40.91% 0.167 326.7)
XYZxyz(11.0527, 5.7920, 18.3015)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751878 #1B7818
analogous
#451878 #751878 #78184B
triadic
#751878 #787518 #187875
tetradic
#751878 #784518 #1B7818 #184B78
square
#751878 #784518 #1B7818 #184B78
split-complementary
#751878 #4B7818 #187845
monochromatic
#19051A #430E45 #751878 #A722AB #D134D6

Accessibility & contrast

On white

9.73
#751878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751878
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751878#FFFFFF#000000##FFFFFF
##7518781.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #751878;
/* rgb */ color: rgb(117, 24, 120);
/* oklch */ color: oklch(40.9% 0.167 326.7);
Tailwind
colors: {
  custom: {
    50: '#a0619f',
    500: '#751878',
    950: '#000000',
  },
}
SCSS
$custom: #751878;
$custom-light: #a0619f;
$custom-dark: #000000;
JSON
{
  "hex": "#751878",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 298.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.16707,
    "h": 326.7
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#751878
secondary
#42AD3F
accent
#EA3E44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751878

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

Preview Lab → · Contrast checker → · Palette generator →

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