#742CB5#742CB5

#742CB5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.202 H 303.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#742CB5
RGBrgb(116, 44, 181)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(35.9%, 75.7%, 0%, 29%)
CIE-LABlab(35.70, 55.77, -59.35)
CIE-LCHlch(35.70, 81.44, 313.22°)
OKLaboklab(47.08% 0.1105 -0.1692)
OKLCHoklch(47.08% 0.202 303.2)
XYZxyz(16.4417, 8.8506, 44.5492)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CB5 #6DB52C
analogous
#302CB5 #742CB5 #B52CB2
triadic
#742CB5 #B5742C #2CB574
tetradic
#742CB5 #B5302C #6DB52C #2CB2B5
square
#742CB5 #B5302C #6DB52C #2CB2B5
split-complementary
#742CB5 #B2B52C #2CB530
monochromatic
#351453 #542084 #742CB5 #934BD3 #B07CDF

Accessibility & contrast

On white

7.58
#742CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#742CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CB5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CB5#FFFFFF#000000##FFFFFF
##742CB51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#674F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742cb5;
/* rgb */ color: rgb(116, 44, 181);
/* oklch */ color: oklch(47.1% 0.202 303.2);
Tailwind
colors: {
  custom: {
    50: '#a26dcc',
    500: '#742cb5',
    950: '#000000',
  },
}
SCSS
$custom: #742cb5;
$custom-light: #a26dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#742cb5",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 271.533,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.20208,
    "h": 303.2
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#742CB5
secondary
#9CC875
accent
#E44490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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