#742E8B#742E8B

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

Color values

HEX#742E8B
RGBrgb(116, 46, 139)
HSLhsl(285, 50%, 36%)
HSVhsv(285, 67%, 55%)
CMYKcmyk(16.5%, 66.9%, 0%, 45.5%)
CIE-LABlab(32.99, 45.39, -38.33)
CIE-LCHlch(32.99, 59.41, 319.82°)
OKLaboklab(44.2% 0.1142 -0.1075)
OKLCHoklch(44.2% 0.157 316.7)
XYZxyz(12.8390, 7.5316, 25.1985)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E8B #458B2E
analogous
#462E8B #742E8B #8B2E74
triadic
#742E8B #8B742E #2E8B74
tetradic
#742E8B #8B462E #458B2E #2E748B
square
#742E8B #8B462E #458B2E #2E748B
split-complementary
#742E8B #748B2E #2E8B46
monochromatic
#27102F #4E1F5D #742E8B #9A3DB9 #B367CD

Accessibility & contrast

On white

8.38
#742E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#742E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E8B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E8B#FFFFFF#000000##FFFFFF
##742E8B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#733F58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742e8b;
/* rgb */ color: rgb(116, 46, 139);
/* oklch */ color: oklch(44.2% 0.157 316.7);
Tailwind
colors: {
  custom: {
    50: '#9f6cad',
    500: '#742e8b',
    950: '#000000',
  },
}
SCSS
$custom: #742e8b;
$custom-light: #9f6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#742e8b",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 285.161,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.15684,
    "h": 316.7
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#742E8B
secondary
#76B361
accent
#DA4E71
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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