#7421AA#7421AA

#7421AA is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.202 H 307.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7421AA
RGBrgb(116, 33, 170)
HSLhsl(276, 67%, 40%)
HSVhsv(276, 81%, 67%)
CMYKcmyk(31.8%, 80.6%, 0%, 33.3%)
CIE-LABlab(33.36, 57.46, -56.60)
CIE-LCHlch(33.36, 80.65, 315.43°)
OKLaboklab(45.17% 0.1224 -0.161)
OKLCHoklch(45.17% 0.202 307.2)
XYZxyz(15.0005, 7.7032, 38.7190)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7421AA #57AA21
analogous
#2F21AA #7421AA #AA219C
triadic
#7421AA #AA7421 #21AA74
tetradic
#7421AA #AA2F21 #57AA21 #219CAA
square
#7421AA #AA2F21 #57AA21 #219CAA
split-complementary
#7421AA #9CAA21 #21AA2F
monochromatic
#2E0D43 #511777 #7421AA #9631D7 #B064E1

Accessibility & contrast

On white

8.27
#7421AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7421AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7421AA#FFFFFF#000000##FFFFFF
##7421AA1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#6B4566
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7421aa;
/* rgb */ color: rgb(116, 33, 170);
/* oklch */ color: oklch(45.2% 0.202 307.2);
Tailwind
colors: {
  custom: {
    50: '#a267c4',
    500: '#7421aa',
    950: '#000000',
  },
}
SCSS
$custom: #7421aa;
$custom-light: #a267c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7421aa",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 276.35,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.20229,
    "h": 307.2
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#7421AA
secondary
#89C661
accent
#EA3D82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7421AA

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

Preview Lab → · Contrast checker → · Palette generator →

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