#742CB9#742CB9

#742CB9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.206 H 302.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#742CB9
RGBrgb(116, 44, 185)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(37.3%, 76.2%, 0%, 27.5%)
CIE-LABlab(36.02, 56.71, -61.19)
CIE-LCHlch(36.02, 83.43, 312.83°)
OKLaboklab(47.41% 0.1096 -0.1746)
OKLCHoklch(47.41% 0.206 302.1)
XYZxyz(16.8580, 9.0171, 46.7419)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CB9 #71B92C
analogous
#2D2CB9 #742CB9 #B92CB8
triadic
#742CB9 #B9742C #2CB974
tetradic
#742CB9 #B92D2C #71B92C #2CB8B9
square
#742CB9 #B92D2C #71B92C #2CB8B9
split-complementary
#742CB9 #B8B92C #2CB92D
monochromatic
#361456 #552088 #742CB9 #934DD5 #B17FE1

Accessibility & contrast

On white

7.49
#742CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#742CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CB9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CB9#FFFFFF#000000##FFFFFF
##742CB91.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#655171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742cb9;
/* rgb */ color: rgb(116, 44, 185);
/* oklch */ color: oklch(47.4% 0.206 302.1);
Tailwind
colors: {
  custom: {
    50: '#a26dcf',
    500: '#742cb9',
    950: '#000000',
  },
}
SCSS
$custom: #742cb9;
$custom-light: #a26dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#742cb9",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 270.638,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47406,
    "c": 0.20613,
    "h": 302.1
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#742CB9
secondary
#A0C978
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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