#742E9F#742E9F

#742E9F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.177 H 309.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#742E9F
RGBrgb(116, 46, 159)
HSLhsl(277, 55%, 40%)
HSVhsv(277, 71%, 62%)
CMYKcmyk(27%, 71.1%, 0%, 37.6%)
CIE-LABlab(34.34, 49.81, -48.38)
CIE-LCHlch(34.34, 69.44, 315.83°)
OKLaboklab(45.59% 0.1126 -0.137)
OKLCHoklch(45.59% 0.177 309.4)
XYZxyz(14.4362, 8.1705, 33.6107)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E9F #599F2E
analogous
#3B2E9F #742E9F #9F2E92
triadic
#742E9F #9F742E #2E9F74
tetradic
#742E9F #9F3B2E #599F2E #2E929F
square
#742E9F #9F3B2E #599F2E #2E929F
split-complementary
#742E9F #929F2E #2E9F3B
monochromatic
#2F1340 #512070 #742E9F #9542C8 #B071D6

Accessibility & contrast

On white

7.97
#742E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#742E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E9F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E9F#FFFFFF#000000##FFFFFF
##742E9F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#6E4763
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742e9f;
/* rgb */ color: rgb(116, 46, 159);
/* oklch */ color: oklch(45.6% 0.177 309.4);
Tailwind
colors: {
  custom: {
    50: '#a06dbc',
    500: '#742e9f',
    950: '#000000',
  },
}
SCSS
$custom: #742e9f;
$custom-light: #a06dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#742e9f",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 277.168,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.17729,
    "h": 309.4
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#742E9F
secondary
#8BBE6B
accent
#DE4982
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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