#7A2377#7A2377

#7A2377 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.156 H 329.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7A2377
RGBrgb(122, 35, 119)
HSLhsl(302, 55%, 31%)
HSVhsv(302, 71%, 48%)
CMYKcmyk(0%, 71.3%, 2.5%, 52.2%)
CIE-LABlab(31.05, 47.73, -28.86)
CIE-LCHlch(31.05, 55.78, 328.84°)
OKLaboklab(42.61% 0.1345 -0.0797)
OKLCHoklch(42.61% 0.156 329.4)
XYZxyz(11.9567, 6.6724, 18.1073)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2377 #237A26
analogous
#51237A #7A2377 #7A234B
triadic
#7A2377 #777A23 #23777A
tetradic
#7A2377 #7A5123 #237A26 #234B7A
square
#7A2377 #7A5123 #237A26 #234B7A
split-complementary
#7A2377 #4B7A23 #237A51
monochromatic
#1B081A #4A1549 #7A2377 #AA31A5 #CC4CC7

Accessibility & contrast

On white

9.00
#7A2377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A2377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2377
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2377#FFFFFF#000000##FFFFFF
##7A23771.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#3B4D75
Tritanopia (blue-blind)
#7E2E4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2377;
/* rgb */ color: rgb(122, 35, 119);
/* oklch */ color: oklch(42.6% 0.156 329.4);
Tailwind
colors: {
  custom: {
    50: '#a3669e',
    500: '#7a2377',
    950: '#000000',
  },
}
SCSS
$custom: #7a2377;
$custom-light: #a3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2377",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 302.069,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.15633,
    "h": 329.4
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#7A2377
secondary
#4CAD4F
accent
#DF4E49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #7A2377

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

Preview Lab → · Contrast checker → · Palette generator →

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