#7A337F#7A337F

#7A337F is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.140 H 325.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7A337F
RGBrgb(122, 51, 127)
HSLhsl(296, 43%, 35%)
HSVhsv(296, 60%, 50%)
CMYKcmyk(3.9%, 59.8%, 0%, 50.2%)
CIE-LABlab(34.06, 42.09, -29.13)
CIE-LCHlch(34.06, 51.19, 325.32°)
OKLaboklab(44.94% 0.115 -0.0806)
OKLCHoklch(44.94% 0.14 325)
XYZxyz(13.0403, 8.0383, 20.9392)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A337F #387F33
analogous
#54337F #7A337F #7F335E
triadic
#7A337F #7F7A33 #337F7A
tetradic
#7A337F #7F5433 #387F33 #335E7F
square
#7A337F #7F5433 #387F33 #335E7F
split-complementary
#7A337F #5E7F33 #337F54
monochromatic
#261028 #502153 #7A337F #A445AB #BD69C3

Accessibility & contrast

On white

8.05
#7A337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A337F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A337F#FFFFFF#000000##FFFFFF
##7A337F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A81
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#7D3D54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a337f;
/* rgb */ color: rgb(122, 51, 127);
/* oklch */ color: oklch(44.9% 0.140 325.0);
Tailwind
colors: {
  custom: {
    50: '#a36fa4',
    500: '#7a337f',
    950: '#000000',
  },
}
SCSS
$custom: #7a337f;
$custom-light: #a36fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a337f",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 296.053,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44936,
    "c": 0.14038,
    "h": 325
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#7A337F
secondary
#68AB63
accent
#D2555E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7A337F

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

Preview Lab → · Contrast checker → · Palette generator →

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