#7A337A#7A337A

#7A337A is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.7% C 0.136 H 327.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7A337A
RGBrgb(122, 51, 122)
HSLhsl(300, 41%, 34%)
HSVhsv(300, 58%, 48%)
CMYKcmyk(0%, 58.2%, 0%, 52.2%)
CIE-LABlab(33.80, 41.13, -26.42)
CIE-LCHlch(33.80, 48.88, 327.28°)
OKLaboklab(44.66% 0.1144 -0.0728)
OKLCHoklch(44.66% 0.136 327.5)
XYZxyz(12.7225, 7.9111, 19.2655)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A337A #337A33
analogous
#57337A #7A337A #7A3357
triadic
#7A337A #7A7A33 #337A7A
tetradic
#7A337A #7A5733 #337A33 #33577A
square
#7A337A #7A5733 #337A33 #33577A
split-complementary
#7A337A #577A33 #337A57
monochromatic
#240F24 #4F214F #7A337A #A545A5 #C068C0

Accessibility & contrast

On white

8.13
#7A337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7A337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A337A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A337A#FFFFFF#000000##FFFFFF
##7A337A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7C
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#7E3B51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a337a;
/* rgb */ color: rgb(122, 51, 122);
/* oklch */ color: oklch(44.7% 0.136 327.5);
Tailwind
colors: {
  custom: {
    50: '#a36fa1',
    500: '#7a337a',
    950: '#000000',
  },
}
SCSS
$custom: #7a337a;
$custom-light: #a36fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a337a",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44656,
    "c": 0.1356,
    "h": 327.5
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#7A337A
secondary
#61A861
accent
#D15757
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #7A337A

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

Preview Lab → · Contrast checker → · Palette generator →

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