#742AAF#742AAF

#742AAF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.198 H 305.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#742AAF
RGBrgb(116, 42, 175)
HSLhsl(273, 61%, 43%)
HSVhsv(273, 76%, 69%)
CMYKcmyk(33.7%, 76%, 0%, 31.4%)
CIE-LABlab(34.93, 55.20, -57.02)
CIE-LCHlch(34.93, 79.36, 314.07°)
OKLaboklab(46.39% 0.1137 -0.1623)
OKLCHoklch(46.39% 0.198 305)
XYZxyz(15.7665, 8.4642, 41.3523)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AAF #65AF2A
analogous
#312AAF #742AAF #AF2AA8
triadic
#742AAF #AF742A #2AAF74
tetradic
#742AAF #AF312A #65AF2A #2AA8AF
square
#742AAF #AF312A #65AF2A #2AA8AF
split-complementary
#742AAF #A8AF2A #2AAF31
monochromatic
#33124C #531E7E #742AAF #9344D2 #B075DE

Accessibility & contrast

On white

7.80
#742AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#742AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AAF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AAF#FFFFFF#000000##FFFFFF
##742AAF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#694B6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742aaf;
/* rgb */ color: rgb(116, 42, 175);
/* oklch */ color: oklch(46.4% 0.198 305.0);
Tailwind
colors: {
  custom: {
    50: '#a16bc8',
    500: '#742aaf',
    950: '#000000',
  },
}
SCSS
$custom: #742aaf;
$custom-light: #a16bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#742aaf",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 273.383,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46394,
    "c": 0.19818,
    "h": 305
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#742AAF
secondary
#96C66F
accent
#E4438B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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