#503A5C#503A5C

#503A5C is a dark, moderate violet. Relative luminance 0.055; OKLCH L 38.7% C 0.062 H 313.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#503A5C
RGBrgb(80, 58, 92)
HSLhsl(279, 23%, 29%)
HSVhsv(279, 37%, 36%)
CMYKcmyk(13%, 37%, 0%, 63.9%)
CIE-LABlab(28.13, 16.89, -16.59)
CIE-LCHlch(28.13, 23.67, 315.52°)
OKLaboklab(38.71% 0.0427 -0.0456)
OKLCHoklch(38.71% 0.062 313.2)
XYZxyz(6.7528, 5.5044, 10.8299)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A5C #465C3A
analogous
#3F3A5C #503A5C #5C3A57
triadic
#503A5C #5C503A #3A5C50
tetradic
#503A5C #5C3F3A #465C3A #3A575C
square
#503A5C #5C3F3A #465C3A #3A575C
split-complementary
#503A5C #575C3A #3A5C3F
monochromatic
#100C13 #2F2236 #503A5C #715282 #906DA3

Accessibility & contrast

On white

10.00
#503A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#503A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A5C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A5C#FFFFFF#000000##FFFFFF
##503A5C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#39435B
Tritanopia (blue-blind)
#4F3E47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #503a5c;
/* rgb */ color: rgb(80, 58, 92);
/* oklch */ color: oklch(38.7% 0.062 313.2);
Tailwind
colors: {
  custom: {
    50: '#81708a',
    500: '#503a5c',
    950: '#000000',
  },
}
SCSS
$custom: #503a5c;
$custom-light: #81708a;
$custom-dark: #000000;
JSON
{
  "hex": "#503a5c",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 92
  },
  "hsl": {
    "h": 278.824,
    "s": 22.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38711,
    "c": 0.06247,
    "h": 313.2
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#503A5C
secondary
#738C66
accent
#BF6987
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070B
muted
#7C7A7C

Preview Lab

Preview with #503A5C

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

Preview Lab → · Contrast checker → · Palette generator →

#503A5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva