#742884#742884

#742884 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.158 H 320.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#742884
RGBrgb(116, 40, 132)
HSLhsl(290, 53%, 34%)
HSVhsv(290, 70%, 52%)
CMYKcmyk(12.1%, 69.7%, 0%, 48.2%)
CIE-LABlab(31.57, 46.66, -36.25)
CIE-LCHlch(31.57, 59.08, 322.15°)
OKLaboklab(43.04% 0.1216 -0.1014)
OKLCHoklch(43.04% 0.158 320.2)
XYZxyz(12.1256, 6.8971, 22.5179)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742884 #388428
analogous
#462884 #742884 #842866
triadic
#742884 #847428 #288474
tetradic
#742884 #844628 #388428 #286684
square
#742884 #844628 #388428 #286684
split-complementary
#742884 #668428 #288446
monochromatic
#210C26 #4B1A55 #742884 #9D36B3 #B95ACD

Accessibility & contrast

On white

8.83
#742884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#742884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742884
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742884#FFFFFF#000000##FFFFFF
##7428841.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054587
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#753853
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #742884;
/* rgb */ color: rgb(116, 40, 132);
/* oklch */ color: oklch(43.0% 0.158 320.2);
Tailwind
colors: {
  custom: {
    50: '#9f69a8',
    500: '#742884',
    950: '#000000',
  },
}
SCSS
$custom: #742884;
$custom-light: #9f69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#742884",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 289.565,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.15829,
    "h": 320.2
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#742884
secondary
#66B256
accent
#DD4B64
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742884

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

Preview Lab → · Contrast checker → · Palette generator →

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