#742E8E#742E8E

#742E8E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.160 H 315.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#742E8E
RGBrgb(116, 46, 142)
HSLhsl(284, 51%, 37%)
HSVhsv(284, 68%, 56%)
CMYKcmyk(18.3%, 67.6%, 0%, 44.3%)
CIE-LABlab(33.18, 46.04, -39.87)
CIE-LCHlch(33.18, 60.90, 319.11°)
OKLaboklab(44.4% 0.1141 -0.112)
OKLCHoklch(44.4% 0.16 315.5)
XYZxyz(13.0612, 7.6205, 26.3688)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E8E #488E2E
analogous
#442E8E #742E8E #8E2E78
triadic
#742E8E #8E742E #2E8E74
tetradic
#742E8E #8E442E #488E2E #2E788E
square
#742E8E #8E442E #488E2E #2E788E
split-complementary
#742E8E #788E2E #2E8E44
monochromatic
#281032 #4E1F60 #742E8E #9A3DBC #B368CE

Accessibility & contrast

On white

8.32
#742E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#742E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E8E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E8E#FFFFFF#000000##FFFFFF
##742E8E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#72405A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742e8e;
/* rgb */ color: rgb(116, 46, 142);
/* oklch */ color: oklch(44.4% 0.160 315.5);
Tailwind
colors: {
  custom: {
    50: '#9f6cb0',
    500: '#742e8e',
    950: '#000000',
  },
}
SCSS
$custom: #742e8e;
$custom-light: #9f6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#742e8e",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 283.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44398,
    "c": 0.15988,
    "h": 315.5
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#742E8E
secondary
#79B563
accent
#DB4D74
background
#FAF6FA
surface
#F3ECF5
border
#CDC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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