#742E7C#742E7C

#742E7C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.142 H 323.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#742E7C
RGBrgb(116, 46, 124)
HSLhsl(294, 46%, 33%)
HSVhsv(294, 63%, 49%)
CMYKcmyk(6.5%, 62.9%, 0%, 51.4%)
CIE-LABlab(32.09, 42.29, -30.44)
CIE-LCHlch(32.09, 52.10, 324.26°)
OKLaboklab(43.25% 0.114 -0.0845)
OKLCHoklch(43.25% 0.142 323.5)
XYZxyz(11.8172, 7.1229, 19.8173)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E7C #367C2E
analogous
#4D2E7C #742E7C #7C2E5D
triadic
#742E7C #7C742E #2E7C74
tetradic
#742E7C #7C4D2E #367C2E #2E5D7C
square
#742E7C #7C4D2E #367C2E #2E5D7C
split-complementary
#742E7C #5D7C2E #2E7C4D
monochromatic
#200D23 #4A1D4F #742E7C #9E3FA9 #BA60C4

Accessibility & contrast

On white

8.66
#742E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#742E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E7C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E7C#FFFFFF#000000##FFFFFF
##742E7C1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#3A4E7A
Tritanopia (blue-blind)
#763950
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742e7c;
/* rgb */ color: rgb(116, 46, 124);
/* oklch */ color: oklch(43.3% 0.142 323.5);
Tailwind
colors: {
  custom: {
    50: '#9e6ca2',
    500: '#742e7c',
    950: '#000000',
  },
}
SCSS
$custom: #742e7c;
$custom-light: #9e6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#742e7c",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 293.846,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.14191,
    "h": 323.5
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#742E7C
secondary
#63AB5B
accent
#D65260
background
#FAF6FA
surface
#F3ECF3
border
#CDC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #742E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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