#503256#503256

#503256 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 36.8% C 0.071 H 320.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#503256
RGBrgb(80, 50, 86)
HSLhsl(290, 26%, 27%)
HSVhsv(290, 42%, 34%)
CMYKcmyk(7%, 41.9%, 0%, 66.3%)
CIE-LABlab(25.74, 20.58, -16.36)
CIE-LCHlch(25.74, 26.29, 321.52°)
OKLaboklab(36.81% 0.0549 -0.0449)
OKLCHoklch(36.81% 0.071 320.8)
XYZxyz(6.1284, 4.6588, 9.3787)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503256 #385632
analogous
#3E3256 #503256 #56324A
triadic
#503256 #565032 #325650
tetradic
#503256 #563E32 #385632 #324A56
square
#503256 #563E32 #385632 #324A56
split-complementary
#503256 #4A5632 #32563E
monochromatic
#120B13 #2C1C2F #503256 #74497D #9760A3

Accessibility & contrast

On white

10.87
#503256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#503256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503256
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503256#FFFFFF#000000##FFFFFF
##5032561.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#353E55
Tritanopia (blue-blind)
#513640
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #503256;
/* rgb */ color: rgb(80, 50, 86);
/* oklch */ color: oklch(36.8% 0.071 320.8);
Tailwind
colors: {
  custom: {
    50: '#826a85',
    500: '#503256',
    950: '#000000',
  },
}
SCSS
$custom: #503256;
$custom-light: #826a85;
$custom-dark: #000000;
JSON
{
  "hex": "#503256",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 290,
    "s": 26.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36813,
    "c": 0.07091,
    "h": 320.8
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#503256
secondary
#64875D
accent
#C36575
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #503256

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

Preview Lab → · Contrast checker → · Palette generator →

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