#7428AB#7428AB

#7428AB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.196 H 306.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7428AB
RGBrgb(116, 40, 171)
HSLhsl(275, 62%, 41%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(32.2%, 76.6%, 0%, 32.9%)
CIE-LABlab(34.34, 55.08, -55.60)
CIE-LCHlch(34.34, 78.27, 314.73°)
OKLaboklab(45.88% 0.1163 -0.1582)
OKLCHoklch(45.88% 0.196 306.3)
XYZxyz(15.3103, 8.1710, 39.2908)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7428AB #5FAB28
analogous
#3328AB #7428AB #AB28A1
triadic
#7428AB #AB7428 #28AB74
tetradic
#7428AB #AB3328 #5FAB28 #28A1AB
square
#7428AB #AB3328 #5FAB28 #28A1AB
split-complementary
#7428AB #A1AB28 #28AB33
monochromatic
#311148 #521C79 #7428AB #943ED2 #AF70DE

Accessibility & contrast

On white

7.97
#7428AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7428AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7428AB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7428AB#FFFFFF#000000##FFFFFF
##7428AB1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#6A4968
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7428ab;
/* rgb */ color: rgb(116, 40, 171);
/* oklch */ color: oklch(45.9% 0.196 306.3);
Tailwind
colors: {
  custom: {
    50: '#a16ac5',
    500: '#7428ab',
    950: '#000000',
  },
}
SCSS
$custom: #7428ab;
$custom-light: #a16ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7428ab",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 274.809,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.19633,
    "h": 306.3
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#7428AB
secondary
#90C46A
accent
#E54387
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7428AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7428AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva