#7321A2#7321A2

#7321A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.4% C 0.195 H 309.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7321A2
RGBrgb(115, 33, 162)
HSLhsl(278, 66%, 38%)
HSVhsv(278, 80%, 64%)
CMYKcmyk(29%, 79.6%, 0%, 36.5%)
CIE-LABlab(32.57, 55.54, -53.06)
CIE-LCHlch(32.57, 76.81, 316.31°)
OKLaboklab(44.39% 0.123 -0.1507)
OKLCHoklch(44.39% 0.195 309.2)
XYZxyz(14.1343, 7.3415, 34.8479)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7321A2 #50A221
analogous
#3321A2 #7321A2 #A22190
triadic
#7321A2 #A27321 #21A273
tetradic
#7321A2 #A23321 #50A221 #2190A2
square
#7321A2 #A23321 #50A221 #2190A2
split-complementary
#7321A2 #90A221 #21A233
monochromatic
#2B0C3C #4F176F #7321A2 #972CD4 #B05FDE

Accessibility & contrast

On white

8.51
#7321A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7321A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7321A2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7321A2#FFFFFF#000000##FFFFFF
##7321A21.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#6C4262
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7321a2;
/* rgb */ color: rgb(115, 33, 162);
/* oklch */ color: oklch(44.4% 0.195 309.2);
Tailwind
colors: {
  custom: {
    50: '#a067be',
    500: '#7321a2',
    950: '#000000',
  },
}
SCSS
$custom: #7321a2;
$custom-light: #a067be;
$custom-dark: #000000;
JSON
{
  "hex": "#7321a2",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 278.14,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.19451,
    "h": 309.2
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7321A2

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

Preview Lab → · Contrast checker → · Palette generator →

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