#741878#741878

#741878 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.167 H 326.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#741878
RGBrgb(116, 24, 120)
HSLhsl(298, 67%, 28%)
HSVhsv(298, 80%, 47%)
CMYKcmyk(3.3%, 80%, 0%, 52.9%)
CIE-LABlab(28.70, 50.38, -33.29)
CIE-LCHlch(28.70, 60.38, 326.54°)
OKLaboklab(40.74% 0.1385 -0.0926)
OKLCHoklch(40.74% 0.167 326.2)
XYZxyz(10.9190, 5.7231, 18.2952)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#741878 #1C7818
analogous
#441878 #741878 #78184C
triadic
#741878 #787418 #187874
tetradic
#741878 #784418 #1C7818 #184C78
square
#741878 #784418 #1C7818 #184C78
split-complementary
#741878 #4C7818 #187844
monochromatic
#19051A #430E45 #741878 #A522AB #D034D6

Accessibility & contrast

On white

9.79
#741878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#741878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #741878
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##741878#FFFFFF#000000##FFFFFF
##7418781.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #741878;
/* rgb */ color: rgb(116, 24, 120);
/* oklch */ color: oklch(40.7% 0.167 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f619f',
    500: '#741878',
    950: '#000000',
  },
}
SCSS
$custom: #741878;
$custom-light: #9f619f;
$custom-dark: #000000;
JSON
{
  "hex": "#741878",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 297.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.1666,
    "h": 326.2
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#741878
secondary
#43AD3F
accent
#EA3E45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #741878

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

Preview Lab → · Contrast checker → · Palette generator →

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