#742DA4#742DA4

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

Color values

HEX#742DA4
RGBrgb(116, 45, 164)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(29.3%, 72.6%, 0%, 35.7%)
CIE-LABlab(34.54, 51.40, -51.07)
CIE-LCHlch(34.54, 72.45, 315.18°)
OKLaboklab(45.85% 0.1129 -0.1449)
OKLCHoklch(45.85% 0.184 307.9)
XYZxyz(14.8403, 8.2703, 35.9293)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DA4 #5DA42D
analogous
#382DA4 #742DA4 #A42D98
triadic
#742DA4 #A4742D #2DA474
tetradic
#742DA4 #A4382D #5DA42D #2D98A4
square
#742DA4 #A4382D #5DA42D #2D98A4
split-complementary
#742DA4 #98A42D #2DA438
monochromatic
#301344 #522074 #742DA4 #9443CB #B073D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##742DA4#FFFFFF#000000##FFFFFF
##742DA41.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)
#004FA7
Deuteranopia (green-blind)
#0752A1
Tritanopia (blue-blind)
#6C4866
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742da4;
/* rgb */ color: rgb(116, 45, 164);
/* oklch */ color: oklch(45.9% 0.184 307.9);
Tailwind
colors: {
  custom: {
    50: '#a06cc0',
    500: '#742da4',
    950: '#000000',
  },
}
SCSS
$custom: #742da4;
$custom-light: #a06cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#742da4",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 275.798,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.18365,
    "h": 307.9
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#742DA4
secondary
#8EC06D
accent
#E04885
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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