#742CB3#742CB3

#742CB3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.200 H 303.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#742CB3
RGBrgb(116, 44, 179)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 75%, 70%)
CMYKcmyk(35.2%, 75.4%, 0%, 29.8%)
CIE-LABlab(35.54, 55.30, -58.42)
CIE-LCHlch(35.54, 80.44, 313.43°)
OKLaboklab(46.92% 0.111 -0.1665)
OKLCHoklch(46.92% 0.2 303.7)
XYZxyz(16.2379, 8.7691, 43.4762)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CB3 #6BB32C
analogous
#302CB3 #742CB3 #B32CAE
triadic
#742CB3 #B3742C #2CB374
tetradic
#742CB3 #B3302C #6BB32C #2CAEB3
square
#742CB3 #B3302C #6BB32C #2CAEB3
split-complementary
#742CB3 #AEB32C #2CB330
monochromatic
#341451 #542082 #742CB3 #934AD2 #B07BDF

Accessibility & contrast

On white

7.63
#742CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#742CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CB3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CB3#FFFFFF#000000##FFFFFF
##742CB31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#674E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742cb3;
/* rgb */ color: rgb(116, 44, 179);
/* oklch */ color: oklch(46.9% 0.200 303.7);
Tailwind
colors: {
  custom: {
    50: '#a26dcb',
    500: '#742cb3',
    950: '#000000',
  },
}
SCSS
$custom: #742cb3;
$custom-light: #a26dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#742cb3",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 272,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.20006,
    "h": 303.7
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#742CB3
secondary
#9BC774
accent
#E4448F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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