#7C337A#7C337A

#7C337A is a dark, vivid purple. Relative luminance 0.081; OKLCH L 44.9% C 0.137 H 328.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7C337A
RGBrgb(124, 51, 122)
HSLhsl(302, 42%, 34%)
HSVhsv(302, 59%, 49%)
CMYKcmyk(0%, 58.9%, 1.6%, 51.4%)
CIE-LABlab(34.10, 41.70, -25.92)
CIE-LCHlch(34.10, 49.10, 328.14°)
OKLaboklab(44.94% 0.1169 -0.0713)
OKLCHoklch(44.94% 0.137 328.6)
XYZxyz(13.0087, 8.0587, 19.2789)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C337A #337C35
analogous
#5A337C #7C337A #7C3356
triadic
#7C337A #7A7C33 #337A7C
tetradic
#7C337A #7C5A33 #337C35 #33567C
square
#7C337A #7C5A33 #337C35 #33567C
split-complementary
#7C337A #567C33 #337C5A
monochromatic
#250F25 #51214F #7C337A #A745A5 #C168BF

Accessibility & contrast

On white

8.04
#7C337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7C337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C337A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C337A#FFFFFF#000000##FFFFFF
##7C337A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#445478
Tritanopia (blue-blind)
#803B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c337a;
/* rgb */ color: rgb(124, 51, 122);
/* oklch */ color: oklch(44.9% 0.137 328.6);
Tailwind
colors: {
  custom: {
    50: '#a46fa0',
    500: '#7c337a',
    950: '#000000',
  },
}
SCSS
$custom: #7c337a;
$custom-light: #a46fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c337a",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 301.644,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.13688,
    "h": 328.6
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#7C337A
secondary
#62A964
accent
#D25A56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #7C337A

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

Preview Lab → · Contrast checker → · Palette generator →

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