#742E9A#742E9A

#742E9A is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.172 H 311.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#742E9A
RGBrgb(116, 46, 154)
HSLhsl(279, 54%, 39%)
HSVhsv(279, 70%, 60%)
CMYKcmyk(24.7%, 70.1%, 0%, 39.6%)
CIE-LABlab(33.98, 48.68, -45.92)
CIE-LCHlch(33.98, 66.92, 316.67°)
OKLaboklab(45.23% 0.1132 -0.1297)
OKLCHoklch(45.23% 0.172 311.1)
XYZxyz(14.0111, 8.0004, 31.3717)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E9A #549A2E
analogous
#3E2E9A #742E9A #9A2E8A
triadic
#742E9A #9A742E #2E9A74
tetradic
#742E9A #9A3E2E #549A2E #2E8A9A
square
#742E9A #9A3E2E #549A2E #2E8A9A
split-complementary
#742E9A #8A9A2E #2E9A3E
monochromatic
#2D123C #51206B #742E9A #973FC6 #B06FD4

Accessibility & contrast

On white

8.08
#742E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#742E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E9A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E9A#FFFFFF#000000##FFFFFF
##742E9A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#1F5198
Tritanopia (blue-blind)
#6F4560
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742e9a;
/* rgb */ color: rgb(116, 46, 154);
/* oklch */ color: oklch(45.2% 0.172 311.1);
Tailwind
colors: {
  custom: {
    50: '#a06db8',
    500: '#742e9a',
    950: '#000000',
  },
}
SCSS
$custom: #742e9a;
$custom-light: #a06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#742e9a",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 278.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.17215,
    "h": 311.1
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#742E9A
secondary
#86BB69
accent
#DD4A7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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