#741778#741778

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

Color values

HEX#741778
RGBrgb(116, 23, 120)
HSLhsl(298, 68%, 28%)
HSVhsv(298, 81%, 47%)
CMYKcmyk(3.3%, 80.8%, 0%, 52.9%)
CIE-LABlab(28.60, 50.68, -33.46)
CIE-LCHlch(28.60, 60.73, 326.57°)
OKLaboklab(40.67% 0.1393 -0.0931)
OKLCHoklch(40.67% 0.168 326.3)
XYZxyz(10.8988, 5.6826, 18.2885)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#741778 #1B7817
analogous
#431778 #741778 #78174B
triadic
#741778 #787417 #177874
tetradic
#741778 #784317 #1B7817 #174B78
square
#741778 #784317 #1B7817 #174B78
split-complementary
#741778 #4B7817 #177843
monochromatic
#19051A #420D45 #741778 #A621AB #D132D8

Accessibility & contrast

On white

9.83
#741778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #741778
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##741778#FFFFFF#000000##FFFFFF
##7417781.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#772947
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #741778;
/* rgb */ color: rgb(116, 23, 120);
/* oklch */ color: oklch(40.7% 0.168 326.3);
Tailwind
colors: {
  custom: {
    50: '#9f619f',
    500: '#741778',
    950: '#000000',
  },
}
SCSS
$custom: #741778;
$custom-light: #9f619f;
$custom-dark: #000000;
JSON
{
  "hex": "#741778",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 297.526,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.16758,
    "h": 326.3
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#741778
secondary
#42AD3E
accent
#EB3D44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #741778

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

Preview Lab → · Contrast checker → · Palette generator →

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