#741978#741978

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

Color values

HEX#741978
RGBrgb(116, 25, 120)
HSLhsl(297, 66%, 28%)
HSVhsv(297, 79%, 47%)
CMYKcmyk(3.3%, 79.2%, 0%, 52.9%)
CIE-LABlab(28.81, 50.06, -33.11)
CIE-LCHlch(28.81, 60.02, 326.52°)
OKLaboklab(40.82% 0.1376 -0.0921)
OKLCHoklch(40.82% 0.166 326.2)
XYZxyz(10.9400, 5.7651, 18.3022)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#741978 #1D7819
analogous
#441978 #741978 #78194C
triadic
#741978 #787419 #197874
tetradic
#741978 #784419 #1D7819 #194C78
square
#741978 #784419 #1D7819 #194C78
split-complementary
#741978 #4C7819 #197844
monochromatic
#180519 #430E45 #741978 #A524AB #CE36D5

Accessibility & contrast

On white

9.75
#741978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #741978
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##741978#FFFFFF#000000##FFFFFF
##7419781.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #741978;
/* rgb */ color: rgb(116, 25, 120);
/* oklch */ color: oklch(40.8% 0.166 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f619f',
    500: '#741978',
    950: '#000000',
  },
}
SCSS
$custom: #741978;
$custom-light: #9f619f;
$custom-dark: #000000;
JSON
{
  "hex": "#741978",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 297.474,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.16559,
    "h": 326.2
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#741978
secondary
#45AD40
accent
#E83F46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #741978

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

Preview Lab → · Contrast checker → · Palette generator →

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