#773271#773271

#773271 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.6% C 0.127 H 331.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#773271
RGBrgb(119, 50, 113)
HSLhsl(305, 41%, 33%)
HSVhsv(305, 58%, 47%)
CMYKcmyk(0%, 58%, 5%, 53.3%)
CIE-LABlab(32.69, 39.05, -22.52)
CIE-LCHlch(32.69, 45.08, 330.02°)
OKLaboklab(43.6% 0.1109 -0.0616)
OKLCHoklch(43.6% 0.127 331)
XYZxyz(11.7289, 7.3962, 16.4294)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773271 #327738
analogous
#5A3277 #773271 #77324E
triadic
#773271 #717732 #327177
tetradic
#773271 #775A32 #327738 #324E77
square
#773271 #775A32 #327738 #324E77
split-complementary
#773271 #4E7732 #32775A
monochromatic
#210E1F #4C2048 #773271 #A2449A #BE65B7

Accessibility & contrast

On white

8.47
#773271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#773271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773271
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773271#FFFFFF#000000##FFFFFF
##7732711.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4773
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#7B384C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #773271;
/* rgb */ color: rgb(119, 50, 113);
/* oklch */ color: oklch(43.6% 0.127 331.0);
Tailwind
colors: {
  custom: {
    50: '#a06e9a',
    500: '#773271',
    950: '#000000',
  },
}
SCSS
$custom: #773271;
$custom-light: #a06e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#773271",
  "rgb": {
    "r": 119,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 305.217,
    "s": 40.828,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.1269,
    "h": 331
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#773271
secondary
#5FA665
accent
#D16257
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #773271

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

Preview Lab → · Contrast checker → · Palette generator →

#773271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva