#7A337C#7A337C

#7A337C is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.8% C 0.138 H 326.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7A337C
RGBrgb(122, 51, 124)
HSLhsl(298, 42%, 34%)
HSVhsv(298, 59%, 49%)
CMYKcmyk(1.6%, 58.9%, 0%, 51.4%)
CIE-LABlab(33.90, 41.51, -27.51)
CIE-LCHlch(33.90, 49.80, 326.47°)
OKLaboklab(44.77% 0.1147 -0.0759)
OKLCHoklch(44.77% 0.138 326.5)
XYZxyz(12.8477, 7.9612, 19.9248)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A337C #357C33
analogous
#56337C #7A337C #7C335A
triadic
#7A337C #7C7A33 #337C7A
tetradic
#7A337C #7C5633 #357C33 #335A7C
square
#7A337C #7C5633 #357C33 #335A7C
split-complementary
#7A337C #5A7C33 #337C56
monochromatic
#250F25 #4F2151 #7A337C #A545A7 #BF68C1

Accessibility & contrast

On white

8.10
#7A337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A337C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A337C#FFFFFF#000000##FFFFFF
##7A337C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#42537A
Tritanopia (blue-blind)
#7D3C52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a337c;
/* rgb */ color: rgb(122, 51, 124);
/* oklch */ color: oklch(44.8% 0.138 326.5);
Tailwind
colors: {
  custom: {
    50: '#a36fa2',
    500: '#7a337c',
    950: '#000000',
  },
}
SCSS
$custom: #7a337c;
$custom-light: #a36fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a337c",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 298.356,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.1375,
    "h": 326.5
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#7A337C
secondary
#64A962
accent
#D2565A
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7A337C

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

Preview Lab → · Contrast checker → · Palette generator →

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