#742F91#742F91

#742F91 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.162 H 314.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#742F91
RGBrgb(116, 47, 145)
HSLhsl(282, 51%, 38%)
HSVhsv(282, 68%, 57%)
CMYKcmyk(20%, 67.6%, 0%, 43.1%)
CIE-LABlab(33.54, 46.22, -41.13)
CIE-LCHlch(33.54, 61.87, 318.34°)
OKLaboklab(44.72% 0.1127 -0.1157)
OKLCHoklch(44.72% 0.162 314.3)
XYZxyz(13.3290, 7.7908, 27.5842)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742F91 #4C912F
analogous
#432F91 #742F91 #912F7D
triadic
#742F91 #91742F #2F9174
tetradic
#742F91 #91432F #4C912F #2F7D91
square
#742F91 #91432F #4C912F #2F7D91
split-complementary
#742F91 #7D912F #2F9143
monochromatic
#2A1135 #4F2063 #742F91 #993EBF #B26BCF

Accessibility & contrast

On white

8.21
#742F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742F91
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742F91#FFFFFF#000000##FFFFFF
##742F911.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#71425C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #742f91;
/* rgb */ color: rgb(116, 47, 145);
/* oklch */ color: oklch(44.7% 0.162 314.3);
Tailwind
colors: {
  custom: {
    50: '#9f6db2',
    500: '#742f91',
    950: '#000000',
  },
}
SCSS
$custom: #742f91;
$custom-light: #9f6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#742f91",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 282.245,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.16155,
    "h": 314.3
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#742F91
secondary
#7DB665
accent
#DB4D77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742F91

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

Preview Lab → · Contrast checker → · Palette generator →

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