#503252#503252

#503252 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.6% C 0.066 H 324.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#503252
RGBrgb(80, 50, 82)
HSLhsl(296, 24%, 26%)
HSVhsv(296, 39%, 32%)
CMYKcmyk(2.4%, 39%, 0%, 67.8%)
CIE-LABlab(25.55, 19.67, -14.02)
CIE-LCHlch(25.55, 24.15, 324.53°)
OKLaboklab(36.61% 0.0538 -0.0382)
OKLCHoklch(36.61% 0.066 324.6)
XYZxyz(5.9717, 4.5961, 8.5536)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503252 #345232
analogous
#403252 #503252 #523244
triadic
#503252 #525032 #325250
tetradic
#503252 #524032 #345232 #324452
square
#503252 #524032 #345232 #324452
split-complementary
#503252 #445232 #325240
monochromatic
#130C13 #2B1B2C #503252 #754978 #9A609E

Accessibility & contrast

On white

10.94
#503252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#503252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503252
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503252#FFFFFF#000000##FFFFFF
##5032521.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#373E51
Tritanopia (blue-blind)
#51353E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #503252;
/* rgb */ color: rgb(80, 50, 82);
/* oklch */ color: oklch(36.6% 0.066 324.6);
Tailwind
colors: {
  custom: {
    50: '#826a82',
    500: '#503252',
    950: '#000000',
  },
}
SCSS
$custom: #503252;
$custom-light: #826a82;
$custom-dark: #000000;
JSON
{
  "hex": "#503252",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 296.25,
    "s": 24.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36609,
    "c": 0.06598,
    "h": 324.6
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#503252
secondary
#5F835D
accent
#C1676D
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #503252

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

Preview Lab → · Contrast checker → · Palette generator →

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