#742CAF#742CAF

#742CAF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.196 H 304.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#742CAF
RGBrgb(116, 44, 175)
HSLhsl(273, 60%, 43%)
HSVhsv(273, 75%, 69%)
CMYKcmyk(33.7%, 74.9%, 0%, 31.4%)
CIE-LABlab(35.22, 54.37, -56.55)
CIE-LCHlch(35.22, 78.45, 313.87°)
OKLaboklab(46.6% 0.1118 -0.161)
OKLCHoklch(46.6% 0.196 304.8)
XYZxyz(15.8392, 8.6096, 41.3765)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CAF #67AF2C
analogous
#322CAF #742CAF #AF2CA8
triadic
#742CAF #AF742C #2CAF74
tetradic
#742CAF #AF322C #67AF2C #2CA8AF
square
#742CAF #AF322C #67AF2C #2CA8AF
split-complementary
#742CAF #A8AF2C #2CAF32
monochromatic
#33134D #54207E #742CAF #9347D1 #B078DD

Accessibility & contrast

On white

7.71
#742CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#742CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CAF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CAF#FFFFFF#000000##FFFFFF
##742CAF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#694C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742caf;
/* rgb */ color: rgb(116, 44, 175);
/* oklch */ color: oklch(46.6% 0.196 304.8);
Tailwind
colors: {
  custom: {
    50: '#a16cc8',
    500: '#742caf',
    950: '#000000',
  },
}
SCSS
$custom: #742caf;
$custom-light: #a16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#742caf",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 272.977,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.196,
    "h": 304.8
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#742CAF
secondary
#97C572
accent
#E3458C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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