#742C8D#742C8D

#742C8D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.162 H 316.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#742C8D
RGBrgb(116, 44, 141)
HSLhsl(285, 52%, 36%)
HSVhsv(285, 69%, 55%)
CMYKcmyk(17.7%, 68.8%, 0%, 44.7%)
CIE-LABlab(32.78, 46.75, -39.89)
CIE-LCHlch(32.78, 61.45, 319.52°)
OKLaboklab(44.09% 0.1165 -0.112)
OKLCHoklch(44.09% 0.162 316.1)
XYZxyz(12.9101, 7.4379, 25.9498)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742C8D #458D2C
analogous
#442C8D #742C8D #8D2C76
triadic
#742C8D #8D742C #2C8D74
tetradic
#742C8D #8D442C #458D2C #2C768D
square
#742C8D #8D442C #458D2C #2C768D
split-complementary
#742C8D #768D2C #2C8D44
monochromatic
#270F30 #4E1D5E #742C8D #9A3BBC #B365CF

Accessibility & contrast

On white

8.44
#742C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#742C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742C8D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742C8D#FFFFFF#000000##FFFFFF
##742C8D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#723F59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #742c8d;
/* rgb */ color: rgb(116, 44, 141);
/* oklch */ color: oklch(44.1% 0.162 316.1);
Tailwind
colors: {
  custom: {
    50: '#9f6baf',
    500: '#742c8d',
    950: '#000000',
  },
}
SCSS
$custom: #742c8d;
$custom-light: #9f6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#742c8d",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 284.536,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44093,
    "c": 0.16165,
    "h": 316.1
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#742C8D
secondary
#76B560
accent
#DC4C71
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742C8D

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

Preview Lab → · Contrast checker → · Palette generator →

#742C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva