#742CAA#742CAA

#742CAA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.191 H 306.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#742CAA
RGBrgb(116, 44, 170)
HSLhsl(274, 59%, 42%)
HSVhsv(274, 74%, 67%)
CMYKcmyk(31.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(34.84, 53.21, -54.19)
CIE-LCHlch(34.84, 75.95, 314.48°)
OKLaboklab(46.21% 0.1128 -0.154)
OKLCHoklch(46.21% 0.191 306.2)
XYZxyz(15.3573, 8.4168, 38.8380)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CAA #62AA2C
analogous
#352CAA #742CAA #AA2CA1
triadic
#742CAA #AA742C #2CAA74
tetradic
#742CAA #AA352C #62AA2C #2CA1AA
square
#742CAA #AA352C #62AA2C #2CA1AA
split-complementary
#742CAA #A1AA2C #2CAA35
monochromatic
#321349 #531F79 #742CAA #9344CF #B075DB

Accessibility & contrast

On white

7.83
#742CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#742CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CAA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CAA#FFFFFF#000000##FFFFFF
##742CAA1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#6A4A69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742caa;
/* rgb */ color: rgb(116, 44, 170);
/* oklch */ color: oklch(46.2% 0.191 306.2);
Tailwind
colors: {
  custom: {
    50: '#a16cc4',
    500: '#742caa',
    950: '#000000',
  },
}
SCSS
$custom: #742caa;
$custom-light: #a16cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#742caa",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 274.286,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.19093,
    "h": 306.2
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#742CAA
secondary
#93C36F
accent
#E24689
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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