#742C8E#742C8E

#742C8E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.163 H 315.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#742C8E
RGBrgb(116, 44, 142)
HSLhsl(284, 53%, 36%)
HSVhsv(284, 69%, 56%)
CMYKcmyk(18.3%, 69%, 0%, 44.3%)
CIE-LABlab(32.85, 46.96, -40.40)
CIE-LCHlch(32.85, 61.95, 319.29°)
OKLaboklab(44.16% 0.1165 -0.1135)
OKLCHoklch(44.16% 0.163 315.7)
XYZxyz(12.9849, 7.4678, 26.3434)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742C8E #468E2C
analogous
#432C8E #742C8E #8E2C77
triadic
#742C8E #8E742C #2C8E74
tetradic
#742C8E #8E432C #468E2C #2C778E
square
#742C8E #8E432C #468E2C #2C778E
split-complementary
#742C8E #778E2C #2C8E43
monochromatic
#280F31 #4E1E5F #742C8E #9A3ABD #B365CF

Accessibility & contrast

On white

8.42
#742C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742C8E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742C8E#FFFFFF#000000##FFFFFF
##742C8E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742c8e;
/* rgb */ color: rgb(116, 44, 142);
/* oklch */ color: oklch(44.2% 0.163 315.7);
Tailwind
colors: {
  custom: {
    50: '#9f6bb0',
    500: '#742c8e',
    950: '#000000',
  },
}
SCSS
$custom: #742c8e;
$custom-light: #9f6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#742c8e",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 284.082,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.16264,
    "h": 315.7
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#742C8E
secondary
#77B660
accent
#DC4C72
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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