#742FA1#742FA1

#742FA1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.178 H 308.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#742FA1
RGBrgb(116, 47, 161)
HSLhsl(276, 55%, 41%)
HSVhsv(276, 71%, 63%)
CMYKcmyk(28%, 70.8%, 0%, 36.9%)
CIE-LABlab(34.64, 49.81, -49.10)
CIE-LCHlch(34.64, 69.94, 315.41°)
OKLaboklab(45.86% 0.1112 -0.1391)
OKLCHoklch(45.86% 0.178 308.6)
XYZxyz(14.6507, 8.3195, 34.5453)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FA1 #5CA12F
analogous
#3B2FA1 #742FA1 #A12F95
triadic
#742FA1 #A1742F #2FA174
tetradic
#742FA1 #A13B2F #5CA12F #2F95A1
square
#742FA1 #A13B2F #5CA12F #2F95A1
split-complementary
#742FA1 #95A12F #2FA13B
monochromatic
#301342 #522172 #742FA1 #9445C9 #B074D6

Accessibility & contrast

On white

7.88
#742FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#742FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FA1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FA1#FFFFFF#000000##FFFFFF
##742FA11.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#15529F
Tritanopia (blue-blind)
#6D4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742fa1;
/* rgb */ color: rgb(116, 47, 161);
/* oklch */ color: oklch(45.9% 0.178 308.6);
Tailwind
colors: {
  custom: {
    50: '#a06dbd',
    500: '#742fa1',
    950: '#000000',
  },
}
SCSS
$custom: #742fa1;
$custom-light: #a06dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#742fa1",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 276.316,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.17809,
    "h": 308.6
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#742FA1
secondary
#8DBE6E
accent
#DE4A84
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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