#742E94#742E94

#742E94 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.166 H 313.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#742E94
RGBrgb(116, 46, 148)
HSLhsl(281, 53%, 38%)
HSVhsv(281, 69%, 58%)
CMYKcmyk(21.6%, 68.9%, 0%, 42%)
CIE-LABlab(33.57, 47.35, -42.92)
CIE-LCHlch(33.57, 63.90, 317.81°)
OKLaboklab(44.81% 0.1137 -0.1209)
OKLCHoklch(44.81% 0.166 313.2)
XYZxyz(13.5238, 7.8055, 28.8054)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E94 #4E942E
analogous
#412E94 #742E94 #942E81
triadic
#742E94 #94742E #2E9474
tetradic
#742E94 #94412E #4E942E #2E8194
square
#742E94 #94412E #4E942E #2E8194
split-complementary
#742E94 #81942E #2E9441
monochromatic
#2B1137 #4F1F65 #742E94 #993DC3 #B16BD1

Accessibility & contrast

On white

8.20
#742E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#742E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E94
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E94#FFFFFF#000000##FFFFFF
##742E941.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#71435D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #742e94;
/* rgb */ color: rgb(116, 46, 148);
/* oklch */ color: oklch(44.8% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#9f6cb4',
    500: '#742e94',
    950: '#000000',
  },
}
SCSS
$custom: #742e94;
$custom-light: #9f6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#742e94",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 281.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.16599,
    "h": 313.2
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#742E94
secondary
#80B866
accent
#DC4C79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742E94

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

Preview Lab → · Contrast checker → · Palette generator →

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