#7A2399#7A2399

#7A2399 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.186 H 315.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7A2399
RGBrgb(122, 35, 153)
HSLhsl(284, 63%, 37%)
HSVhsv(284, 77%, 60%)
CMYKcmyk(20.3%, 77.1%, 0%, 40%)
CIE-LABlab(33.22, 54.24, -46.49)
CIE-LCHlch(33.22, 71.44, 319.40°)
OKLaboklab(44.85% 0.1324 -0.1311)
OKLCHoklch(44.85% 0.186 315.3)
XYZxyz(14.3759, 7.6401, 30.8482)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2399 #429923
analogous
#3F2399 #7A2399 #99237D
triadic
#7A2399 #997A23 #23997A
tetradic
#7A2399 #993F23 #429923 #237D99
square
#7A2399 #993F23 #429923 #237D99
split-complementary
#7A2399 #7D9923 #23993F
monochromatic
#2B0C35 #521867 #7A2399 #A22ECB #B95DDA

Accessibility & contrast

On white

8.31
#7A2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2399
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2399#FFFFFF#000000##FFFFFF
##7A23991.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#1E5096
Tritanopia (blue-blind)
#773D5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2399;
/* rgb */ color: rgb(122, 35, 153);
/* oklch */ color: oklch(44.9% 0.186 315.3);
Tailwind
colors: {
  custom: {
    50: '#a468b8',
    500: '#7a2399',
    950: '#000000',
  },
}
SCSS
$custom: #7a2399;
$custom-light: #a468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2399",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 284.237,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.18637,
    "h": 315.3
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#7A2399
secondary
#74BE59
accent
#E6426D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2399

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

Preview Lab → · Contrast checker → · Palette generator →

#7A2399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva