#742B95#742B95

#742B95 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.171 H 313.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#742B95
RGBrgb(116, 43, 149)
HSLhsl(281, 55%, 38%)
HSVhsv(281, 71%, 58%)
CMYKcmyk(22.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(33.16, 48.92, -44.20)
CIE-LCHlch(33.16, 65.93, 317.90°)
OKLaboklab(44.53% 0.117 -0.1247)
OKLCHoklch(44.53% 0.171 313.2)
XYZxyz(13.4902, 7.6111, 29.1864)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742B95 #4C952B
analogous
#3F2B95 #742B95 #952B81
triadic
#742B95 #95742B #2B9574
tetradic
#742B95 #953F2B #4C952B #2B8195
square
#742B95 #953F2B #4C952B #2B8195
split-complementary
#742B95 #81952B #2B953F
monochromatic
#2A1036 #4F1D66 #742B95 #9939C4 #B267D3

Accessibility & contrast

On white

8.33
#742B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742B95
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742B95#FFFFFF#000000##FFFFFF
##742B951.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#71415D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742b95;
/* rgb */ color: rgb(116, 43, 149);
/* oklch */ color: oklch(44.5% 0.171 313.2);
Tailwind
colors: {
  custom: {
    50: '#a06bb5',
    500: '#742b95',
    950: '#000000',
  },
}
SCSS
$custom: #742b95;
$custom-light: #a06bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#742b95",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 281.321,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.17097,
    "h": 313.2
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#742B95
secondary
#7DBA62
accent
#DF4978
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742B95

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

Preview Lab → · Contrast checker → · Palette generator →

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