#742879#742879

#742879 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 325.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#742879
RGBrgb(116, 40, 121)
HSLhsl(296, 50%, 32%)
HSVhsv(296, 67%, 47%)
CMYKcmyk(4.1%, 66.9%, 0%, 52.5%)
CIE-LABlab(30.91, 44.49, -30.42)
CIE-LCHlch(30.91, 53.89, 325.64°)
OKLaboklab(42.34% 0.1216 -0.0844)
OKLCHoklch(42.34% 0.148 325.2)
XYZxyz(11.4122, 6.6118, 18.7605)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742879 #2D7928
analogous
#4C2879 #742879 #792856
triadic
#742879 #797428 #287974
tetradic
#742879 #794C28 #2D7928 #285679
square
#742879 #794C28 #2D7928 #285679
split-complementary
#742879 #567928 #28794C
monochromatic
#1C0A1D #48194B #742879 #A037A7 #C055C7

Accessibility & contrast

On white

9.04
#742879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#742879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742879
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742879#FFFFFF#000000##FFFFFF
##7428791.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#77344D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #742879;
/* rgb */ color: rgb(116, 40, 121);
/* oklch */ color: oklch(42.3% 0.148 325.2);
Tailwind
colors: {
  custom: {
    50: '#9f68a0',
    500: '#742879',
    950: '#000000',
  },
}
SCSS
$custom: #742879;
$custom-light: #9f68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#742879",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 296.296,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.14798,
    "h": 325.2
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#742879
secondary
#57AB52
accent
#DA4E57
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #742879

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

Preview Lab → · Contrast checker → · Palette generator →

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