#742E9B#742E9B

#742E9B is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.173 H 310.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#742E9B
RGBrgb(116, 46, 155)
HSLhsl(279, 54%, 39%)
HSVhsv(279, 70%, 61%)
CMYKcmyk(25.2%, 70.3%, 0%, 39.2%)
CIE-LABlab(34.05, 48.91, -46.41)
CIE-LCHlch(34.05, 67.42, 316.50°)
OKLaboklab(45.3% 0.113 -0.1312)
OKLCHoklch(45.3% 0.173 310.7)
XYZxyz(14.0947, 8.0339, 31.8122)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E9B #559B2E
analogous
#3E2E9B #742E9B #9B2E8C
triadic
#742E9B #9B742E #2E9B74
tetradic
#742E9B #9B3E2E #559B2E #2E8C9B
square
#742E9B #9B3E2E #559B2E #2E8C9B
split-complementary
#742E9B #8C9B2E #2E9B3E
monochromatic
#2D123D #51206C #742E9B #9640C6 #B06FD4

Accessibility & contrast

On white

8.06
#742E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#742E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E9B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E9B#FFFFFF#000000##FFFFFF
##742E9B1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#1E5199
Tritanopia (blue-blind)
#6F4561
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742e9b;
/* rgb */ color: rgb(116, 46, 155);
/* oklch */ color: oklch(45.3% 0.173 310.7);
Tailwind
colors: {
  custom: {
    50: '#a06db9',
    500: '#742e9b',
    950: '#000000',
  },
}
SCSS
$custom: #742e9b;
$custom-light: #a06db9;
$custom-dark: #000000;
JSON
{
  "hex": "#742e9b",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 278.532,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.17317,
    "h": 310.7
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#742E9B
secondary
#87BC69
accent
#DE4A7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #742E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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