#742CB6#742CB6

#742CB6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.203 H 302.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#742CB6
RGBrgb(116, 44, 182)
HSLhsl(271, 61%, 44%)
HSVhsv(271, 76%, 71%)
CMYKcmyk(36.3%, 75.8%, 0%, 28.6%)
CIE-LABlab(35.78, 56.01, -59.81)
CIE-LCHlch(35.78, 81.94, 313.12°)
OKLaboklab(47.16% 0.1103 -0.1705)
OKLCHoklch(47.16% 0.203 302.9)
XYZxyz(16.5446, 8.8918, 45.0916)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CB6 #6EB62C
analogous
#2F2CB6 #742CB6 #B62CB3
triadic
#742CB6 #B6742C #2CB674
tetradic
#742CB6 #B62F2C #6EB62C #2CB3B6
square
#742CB6 #B62F2C #6EB62C #2CB3B6
split-complementary
#742CB6 #B3B62C #2CB62F
monochromatic
#351453 #552085 #742CB6 #934CD4 #B07DE0

Accessibility & contrast

On white

7.56
#742CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#742CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CB6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CB6#FFFFFF#000000##FFFFFF
##742CB61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#664F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742cb6;
/* rgb */ color: rgb(116, 44, 182);
/* oklch */ color: oklch(47.2% 0.203 302.9);
Tailwind
colors: {
  custom: {
    50: '#a26dcd',
    500: '#742cb6',
    950: '#000000',
  },
}
SCSS
$custom: #742cb6;
$custom-light: #a26dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#742cb6",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 271.304,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.2031,
    "h": 302.9
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#742CB6
secondary
#9DC876
accent
#E44490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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