#742AA1#742AA1

#742AA1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.184 H 309.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#742AA1
RGBrgb(116, 42, 161)
HSLhsl(277, 59%, 40%)
HSVhsv(277, 74%, 63%)
CMYKcmyk(28%, 73.9%, 0%, 36.9%)
CIE-LABlab(33.86, 52.01, -50.36)
CIE-LCHlch(33.86, 72.39, 315.92°)
OKLaboklab(45.3% 0.1164 -0.1427)
OKLCHoklch(45.3% 0.184 309.2)
XYZxyz(14.4621, 7.9424, 34.4825)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AA1 #57A12A
analogous
#392AA1 #742AA1 #A12A93
triadic
#742AA1 #A1742A #2AA174
tetradic
#742AA1 #A1392A #57A12A #2A93A1
square
#742AA1 #A1392A #57A12A #2A93A1
split-complementary
#742AA1 #93A12A #2AA139
monochromatic
#2E1140 #511D70 #742AA1 #963CCC #B06DD9

Accessibility & contrast

On white

8.11
#742AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#742AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AA1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AA1#FFFFFF#000000##FFFFFF
##742AA11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#09519E
Tritanopia (blue-blind)
#6D4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742aa1;
/* rgb */ color: rgb(116, 42, 161);
/* oklch */ color: oklch(45.3% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#a06bbe',
    500: '#742aa1',
    950: '#000000',
  },
}
SCSS
$custom: #742aa1;
$custom-light: #a06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742aa1",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 277.311,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.18419,
    "h": 309.2
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#742AA1
secondary
#89C067
accent
#E24681
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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