#742872#742872

#742872 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.142 H 328.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#742872
RGBrgb(116, 40, 114)
HSLhsl(302, 49%, 31%)
HSVhsv(302, 66%, 45%)
CMYKcmyk(0%, 65.5%, 1.7%, 54.5%)
CIE-LABlab(30.51, 43.17, -26.61)
CIE-LCHlch(30.51, 50.71, 328.35°)
OKLaboklab(41.93% 0.1212 -0.0733)
OKLCHoklch(41.93% 0.142 328.8)
XYZxyz(10.9984, 6.4462, 16.5813)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742872 #28742A
analogous
#502874 #742872 #74284C
triadic
#742872 #727428 #287274
tetradic
#742872 #745028 #28742A #284C74
square
#742872 #745028 #28742A #284C74
split-complementary
#742872 #4C7428 #287450
monochromatic
#190919 #461845 #742872 #A2389F #C453C1

Accessibility & contrast

On white

9.17
#742872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#742872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742872
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742872#FFFFFF#000000##FFFFFF
##7428721.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#783149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742872;
/* rgb */ color: rgb(116, 40, 114);
/* oklch */ color: oklch(41.9% 0.142 328.8);
Tailwind
colors: {
  custom: {
    50: '#9f689b',
    500: '#742872',
    950: '#000000',
  },
}
SCSS
$custom: #742872;
$custom-light: #9f689b;
$custom-dark: #000000;
JSON
{
  "hex": "#742872",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 301.579,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.14162,
    "h": 328.8
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#742872
secondary
#52A654
accent
#D85350
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742872

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

Preview Lab → · Contrast checker → · Palette generator →

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