#742AA4#742AA4

#742AA4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.187 H 308.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#742AA4
RGBrgb(116, 42, 164)
HSLhsl(276, 59%, 40%)
HSVhsv(276, 74%, 64%)
CMYKcmyk(29.3%, 74.4%, 0%, 35.7%)
CIE-LABlab(34.09, 52.68, -51.80)
CIE-LCHlch(34.09, 73.89, 315.48°)
OKLaboklab(45.53% 0.1159 -0.147)
OKLCHoklch(45.53% 0.187 308.2)
XYZxyz(14.7299, 8.0495, 35.8925)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AA4 #5AA42A
analogous
#372AA4 #742AA4 #A42A97
triadic
#742AA4 #A4742A #2AA474
tetradic
#742AA4 #A4372A #5AA42A #2A97A4
square
#742AA4 #A4372A #5AA42A #2A97A4
split-complementary
#742AA4 #97A42A #2AA437
monochromatic
#2F1143 #521E73 #742AA4 #953ECD #B06EDA

Accessibility & contrast

On white

8.05
#742AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#742AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AA4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AA4#FFFFFF#000000##FFFFFF
##742AA41.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#6C4765
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742aa4;
/* rgb */ color: rgb(116, 42, 164);
/* oklch */ color: oklch(45.5% 0.187 308.2);
Tailwind
colors: {
  custom: {
    50: '#a16bc0',
    500: '#742aa4',
    950: '#000000',
  },
}
SCSS
$custom: #742aa4;
$custom-light: #a16bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#742aa4",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 276.393,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.18718,
    "h": 308.2
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#742AA4
secondary
#8CC169
accent
#E24583
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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