#742E90#742E90

#742E90 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.162 H 314.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#742E90
RGBrgb(116, 46, 144)
HSLhsl(283, 52%, 37%)
HSVhsv(283, 68%, 56%)
CMYKcmyk(19.4%, 68.1%, 0%, 43.5%)
CIE-LABlab(33.31, 46.47, -40.89)
CIE-LCHlch(33.31, 61.90, 318.65°)
OKLaboklab(44.53% 0.114 -0.115)
OKLCHoklch(44.53% 0.162 314.7)
XYZxyz(13.2127, 7.6811, 27.1667)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E90 #4A902E
analogous
#432E90 #742E90 #902E7B
triadic
#742E90 #90742E #2E9074
tetradic
#742E90 #90432E #4A902E #2E7B90
square
#742E90 #90432E #4A902E #2E7B90
split-complementary
#742E90 #7B902E #2E9043
monochromatic
#291033 #4F1F62 #742E90 #993DBE #B269CF

Accessibility & contrast

On white

8.28
#742E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#742E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E90
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E90#FFFFFF#000000##FFFFFF
##742E901.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#2B508E
Tritanopia (blue-blind)
#72415B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742e90;
/* rgb */ color: rgb(116, 46, 144);
/* oklch */ color: oklch(44.5% 0.162 314.7);
Tailwind
colors: {
  custom: {
    50: '#9f6cb1',
    500: '#742e90',
    950: '#000000',
  },
}
SCSS
$custom: #742e90;
$custom-light: #9f6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#742e90",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 282.857,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.16191,
    "h": 314.7
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#742E90
secondary
#7BB664
accent
#DB4D75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742E90

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

Preview Lab → · Contrast checker → · Palette generator →

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