#742AAA#742AAA

#742AAA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.193 H 306.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#742AAA
RGBrgb(116, 42, 170)
HSLhsl(275, 60%, 42%)
HSVhsv(275, 75%, 67%)
CMYKcmyk(31.8%, 75.3%, 0%, 33.3%)
CIE-LABlab(34.54, 54.05, -54.67)
CIE-LCHlch(34.54, 76.87, 314.67°)
OKLaboklab(46% 0.1147 -0.1554)
OKLCHoklch(46% 0.193 306.4)
XYZxyz(15.2845, 8.2714, 38.8137)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AAA #60AA2A
analogous
#342AAA #742AAA #AA2AA0
triadic
#742AAA #AA742A #2AAA74
tetradic
#742AAA #AA342A #60AA2A #2AA0AA
square
#742AAA #AA342A #60AA2A #2AA0AA
split-complementary
#742AAA #A0AA2A #2AAA34
monochromatic
#311248 #531E79 #742AAA #9441D0 #AF72DC

Accessibility & contrast

On white

7.91
#742AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#742AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AAA
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AAA#FFFFFF#000000##FFFFFF
##742AAA1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#6B4968
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742aaa;
/* rgb */ color: rgb(116, 42, 170);
/* oklch */ color: oklch(46.0% 0.193 306.4);
Tailwind
colors: {
  custom: {
    50: '#a16bc4',
    500: '#742aaa',
    950: '#000000',
  },
}
SCSS
$custom: #742aaa;
$custom-light: #a16bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#742aaa",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 274.688,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.19318,
    "h": 306.4
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#742AAA
secondary
#91C36C
accent
#E44487
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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