#742C8F#742C8F

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

Color values

HEX#742C8F
RGBrgb(116, 44, 143)
HSLhsl(284, 53%, 37%)
HSVhsv(284, 69%, 56%)
CMYKcmyk(18.9%, 69.2%, 0%, 43.9%)
CIE-LABlab(32.91, 47.17, -40.91)
CIE-LCHlch(32.91, 62.44, 319.07°)
OKLaboklab(44.23% 0.1164 -0.115)
OKLCHoklch(44.23% 0.164 315.3)
XYZxyz(13.0603, 7.4980, 26.7406)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742C8F #478F2C
analogous
#432C8F #742C8F #8F2C79
triadic
#742C8F #8F742C #2C8F74
tetradic
#742C8F #8F432C #478F2C #2C798F
square
#742C8F #8F432C #478F2C #2C798F
split-complementary
#742C8F #798F2C #2C8F43
monochromatic
#280F31 #4E1E60 #742C8F #9A3ABE #B366D0

Accessibility & contrast

On white

8.40
#742C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#742C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742C8F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742C8F#FFFFFF#000000##FFFFFF
##742C8F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#2A4F8D
Tritanopia (blue-blind)
#723F5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #742c8f;
/* rgb */ color: rgb(116, 44, 143);
/* oklch */ color: oklch(44.2% 0.164 315.3);
Tailwind
colors: {
  custom: {
    50: '#9f6bb0',
    500: '#742c8f',
    950: '#000000',
  },
}
SCSS
$custom: #742c8f;
$custom-light: #9f6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#742c8f",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 283.636,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.16365,
    "h": 315.3
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#742C8F
secondary
#78B661
accent
#DC4B73
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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