#742579#742579

#742579 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.152 H 325.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#742579
RGBrgb(116, 37, 121)
HSLhsl(296, 53%, 31%)
HSVhsv(296, 69%, 47%)
CMYKcmyk(4.1%, 69.4%, 0%, 52.5%)
CIE-LABlab(30.44, 45.79, -31.15)
CIE-LCHlch(30.44, 55.38, 325.77°)
OKLaboklab(42.01% 0.1252 -0.0865)
OKLCHoklch(42.01% 0.152 325.4)
XYZxyz(11.3150, 6.4173, 18.7281)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742579 #2A7925
analogous
#4A2579 #742579 #792554
triadic
#742579 #797425 #257974
tetradic
#742579 #794A25 #2A7925 #255479
square
#742579 #794A25 #2A7925 #255479
split-complementary
#742579 #547925 #25794A
monochromatic
#1A081B #47174A #742579 #A133A8 #C24FC9

Accessibility & contrast

On white

9.20
#742579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#742579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742579
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742579#FFFFFF#000000##FFFFFF
##7425791.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#77324C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742579;
/* rgb */ color: rgb(116, 37, 121);
/* oklch */ color: oklch(42.0% 0.152 325.4);
Tailwind
colors: {
  custom: {
    50: '#9f67a0',
    500: '#742579',
    950: '#000000',
  },
}
SCSS
$custom: #742579;
$custom-light: #9f67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#742579",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 296.429,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42009,
    "c": 0.15214,
    "h": 325.4
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#742579
secondary
#54AB4E
accent
#DD4B54
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #742579

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

Preview Lab → · Contrast checker → · Palette generator →

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