#503255#503255

#503255 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.8% C 0.070 H 321.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#503255
RGBrgb(80, 50, 85)
HSLhsl(291, 26%, 26%)
HSVhsv(291, 41%, 33%)
CMYKcmyk(5.9%, 41.2%, 0%, 66.7%)
CIE-LABlab(25.69, 20.35, -15.78)
CIE-LCHlch(25.69, 25.75, 322.22°)
OKLaboklab(36.76% 0.0547 -0.0432)
OKLCHoklch(36.76% 0.07 321.7)
XYZxyz(6.0884, 4.6428, 9.1680)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503255 #375532
analogous
#3F3255 #503255 #553249
triadic
#503255 #555032 #325550
tetradic
#503255 #553F32 #375532 #324955
square
#503255 #553F32 #375532 #324955
split-complementary
#503255 #495532 #32553F
monochromatic
#120B13 #2C1B2E #503255 #74497C #9860A1

Accessibility & contrast

On white

10.89
#503255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503255
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503255#FFFFFF#000000##FFFFFF
##5032551.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B56
Deuteranopia (green-blind)
#353E54
Tritanopia (blue-blind)
#51363F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #503255;
/* rgb */ color: rgb(80, 50, 85);
/* oklch */ color: oklch(36.8% 0.070 321.7);
Tailwind
colors: {
  custom: {
    50: '#826a85',
    500: '#503255',
    950: '#000000',
  },
}
SCSS
$custom: #503255;
$custom-light: #826a85;
$custom-dark: #000000;
JSON
{
  "hex": "#503255",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 291.429,
    "s": 25.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36761,
    "c": 0.06966,
    "h": 321.7
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#503255
secondary
#63865D
accent
#C26573
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #503255

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

Preview Lab → · Contrast checker → · Palette generator →

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