#742E6F#742E6F

#742E6F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.5% C 0.130 H 330.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#742E6F
RGBrgb(116, 46, 111)
HSLhsl(304, 43%, 32%)
HSVhsv(304, 60%, 45%)
CMYKcmyk(0%, 60.3%, 4.3%, 54.5%)
CIE-LABlab(31.38, 39.78, -23.34)
CIE-LCHlch(31.38, 46.12, 329.61°)
OKLaboklab(42.51% 0.1127 -0.064)
OKLCHoklch(42.51% 0.13 330.4)
XYZxyz(11.0486, 6.8154, 15.7694)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E6F #2E7433
analogous
#562E74 #742E6F #742E4C
triadic
#742E6F #6F742E #2E6F74
tetradic
#742E6F #74562E #2E7433 #2E4C74
square
#742E6F #74562E #2E7433 #2E4C74
split-complementary
#742E6F #4C742E #2E7456
monochromatic
#1C0B1B #481D45 #742E6F #A03F99 #BF5DB8

Accessibility & contrast

On white

8.89
#742E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#742E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E6F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E6F#FFFFFF#000000##FFFFFF
##742E6F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#78354A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #742e6f;
/* rgb */ color: rgb(116, 46, 111);
/* oklch */ color: oklch(42.5% 0.130 330.4);
Tailwind
colors: {
  custom: {
    50: '#9e6b98',
    500: '#742e6f',
    950: '#000000',
  },
}
SCSS
$custom: #742e6f;
$custom-light: #9e6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#742e6f",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 304.286,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.12963,
    "h": 330.4
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#742E6F
secondary
#59A55E
accent
#D35E55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F070D
muted
#7E7A7E

Preview Lab

Preview with #742E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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