#742EA4#742EA4

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

Color values

HEX#742EA4
RGBrgb(116, 46, 164)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 64%)
CMYKcmyk(29.3%, 72%, 0%, 35.7%)
CIE-LABlab(34.70, 50.95, -50.81)
CIE-LCHlch(34.70, 71.96, 315.08°)
OKLaboklab(45.97% 0.1119 -0.1441)
OKLCHoklch(45.97% 0.182 307.8)
XYZxyz(14.8789, 8.3475, 35.9422)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA4 #5EA42E
analogous
#392EA4 #742EA4 #A42E99
triadic
#742EA4 #A4742E #2EA474
tetradic
#742EA4 #A4392E #5EA42E #2E99A4
square
#742EA4 #A4392E #5EA42E #2E99A4
split-complementary
#742EA4 #99A42E #2EA439
monochromatic
#301344 #522174 #742EA4 #9445CB #B074D8

Accessibility & contrast

On white

7.87
#742EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#742EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EA4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA4#FFFFFF#000000##FFFFFF
##742EA41.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0A52A1
Tritanopia (blue-blind)
#6C4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742ea4;
/* rgb */ color: rgb(116, 46, 164);
/* oklch */ color: oklch(46.0% 0.182 307.8);
Tailwind
colors: {
  custom: {
    50: '#a06dc0',
    500: '#742ea4',
    950: '#000000',
  },
}
SCSS
$custom: #742ea4;
$custom-light: #a06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea4",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 275.593,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.18243,
    "h": 307.8
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#742EA4
secondary
#8FC06E
accent
#DF4886
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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