#7421A2#7421A2

#7421A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.195 H 309.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7421A2
RGBrgb(116, 33, 162)
HSLhsl(279, 66%, 38%)
HSVhsv(279, 80%, 64%)
CMYKcmyk(28.4%, 79.6%, 0%, 36.5%)
CIE-LABlab(32.72, 55.72, -52.81)
CIE-LCHlch(32.72, 76.77, 316.53°)
OKLaboklab(44.52% 0.1244 -0.1499)
OKLCHoklch(44.52% 0.195 309.7)
XYZxyz(14.2666, 7.4096, 34.8541)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7421A2 #4FA221
analogous
#3421A2 #7421A2 #A2218F
triadic
#7421A2 #A27421 #21A274
tetradic
#7421A2 #A23421 #4FA221 #218FA2
square
#7421A2 #A23421 #4FA221 #218FA2
split-complementary
#7421A2 #8FA221 #21A234
monochromatic
#2B0C3C #50176F #7421A2 #982CD4 #B15FDE

Accessibility & contrast

On white

8.46
#7421A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7421A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7421A2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7421A2#FFFFFF#000000##FFFFFF
##7421A21.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#6D4262
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7421a2;
/* rgb */ color: rgb(116, 33, 162);
/* oklch */ color: oklch(44.5% 0.195 309.7);
Tailwind
colors: {
  custom: {
    50: '#a167be',
    500: '#7421a2',
    950: '#000000',
  },
}
SCSS
$custom: #7421a2;
$custom-light: #a167be;
$custom-dark: #000000;
JSON
{
  "hex": "#7421a2",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 278.605,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44524,
    "c": 0.1948,
    "h": 309.7
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#7421A2
secondary
#81C35C
accent
#E93F7B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7421A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7421A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva