#742E8D#742E8D

#742E8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.159 H 315.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#742E8D
RGBrgb(116, 46, 141)
HSLhsl(284, 51%, 37%)
HSVhsv(284, 67%, 55%)
CMYKcmyk(17.7%, 67.4%, 0%, 44.7%)
CIE-LABlab(33.12, 45.82, -39.36)
CIE-LCHlch(33.12, 60.40, 319.34°)
OKLaboklab(44.33% 0.1141 -0.1105)
OKLCHoklch(44.33% 0.159 315.9)
XYZxyz(12.9864, 7.5906, 25.9752)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E8D #478D2E
analogous
#452E8D #742E8D #8D2E77
triadic
#742E8D #8D742E #2E8D74
tetradic
#742E8D #8D452E #478D2E #2E778D
square
#742E8D #8D452E #478D2E #2E778D
split-complementary
#742E8D #778D2E #2E8D45
monochromatic
#281031 #4E1F5F #742E8D #9A3DBB #B368CE

Accessibility & contrast

On white

8.34
#742E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742E8D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E8D#FFFFFF#000000##FFFFFF
##742E8D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#724059
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742e8d;
/* rgb */ color: rgb(116, 46, 141);
/* oklch */ color: oklch(44.3% 0.159 315.9);
Tailwind
colors: {
  custom: {
    50: '#9f6caf',
    500: '#742e8d',
    950: '#000000',
  },
}
SCSS
$custom: #742e8d;
$custom-light: #9f6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#742e8d",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 284.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44331,
    "c": 0.15886,
    "h": 315.9
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#742E8D
secondary
#78B562
accent
#DA4E73
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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