#7B337A#7B337A

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

Color values

HEX#7B337A
RGBrgb(123, 51, 122)
HSLhsl(301, 41%, 34%)
HSVhsv(301, 59%, 48%)
CMYKcmyk(0%, 58.5%, 0.8%, 51.8%)
CIE-LABlab(33.95, 41.42, -26.17)
CIE-LCHlch(33.95, 48.99, 327.71°)
OKLaboklab(44.8% 0.1157 -0.072)
OKLCHoklch(44.8% 0.136 328.1)
XYZxyz(12.8649, 7.9845, 19.2721)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B337A #337B34
analogous
#58337B #7B337A #7B3356
triadic
#7B337A #7A7B33 #337A7B
tetradic
#7B337A #7B5833 #337B34 #33567B
square
#7B337A #7B5833 #337B34 #33567B
split-complementary
#7B337A #567B33 #337B58
monochromatic
#240F24 #50214F #7B337A #A645A5 #C068BF

Accessibility & contrast

On white

8.09
#7B337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7B337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B337A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B337A#FFFFFF#000000##FFFFFF
##7B337A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#7F3B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b337a;
/* rgb */ color: rgb(123, 51, 122);
/* oklch */ color: oklch(44.8% 0.136 328.1);
Tailwind
colors: {
  custom: {
    50: '#a36fa0',
    500: '#7b337a',
    950: '#000000',
  },
}
SCSS
$custom: #7b337a;
$custom-light: #a36fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b337a",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 300.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.13624,
    "h": 328.1
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#7B337A
secondary
#62A863
accent
#D15857
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #7B337A

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

Preview Lab → · Contrast checker → · Palette generator →

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