#503B5F#503B5F

#503B5F is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.1% C 0.065 H 310.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#503B5F
RGBrgb(80, 59, 95)
HSLhsl(275, 23%, 30%)
HSVhsv(275, 38%, 37%)
CMYKcmyk(15.8%, 37.9%, 0%, 62.7%)
CIE-LABlab(28.54, 16.99, -17.89)
CIE-LCHlch(28.54, 24.67, 313.51°)
OKLaboklab(39.07% 0.0419 -0.0493)
OKLCHoklch(39.07% 0.065 310.4)
XYZxyz(6.9374, 5.6597, 11.5512)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503B5F #4A5F3B
analogous
#3E3B5F #503B5F #5F3B5C
triadic
#503B5F #5F503B #3B5F50
tetradic
#503B5F #5F3E3B #4A5F3B #3B5C5F
square
#503B5F #5F3E3B #4A5F3B #3B5C5F
split-complementary
#503B5F #5C5F3B #3B5F3E
monochromatic
#100C13 #302439 #503B5F #705285 #8F6FA6

Accessibility & contrast

On white

9.85
#503B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#503B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503B5F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503B5F#FFFFFF#000000##FFFFFF
##503B5F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#39445E
Tritanopia (blue-blind)
#4E4048
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503b5f;
/* rgb */ color: rgb(80, 59, 95);
/* oklch */ color: oklch(39.1% 0.065 310.4);
Tailwind
colors: {
  custom: {
    50: '#81718c',
    500: '#503b5f',
    950: '#000000',
  },
}
SCSS
$custom: #503b5f;
$custom-light: #81718c;
$custom-dark: #000000;
JSON
{
  "hex": "#503b5f",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 95
  },
  "hsl": {
    "h": 275,
    "s": 23.377,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.06468,
    "h": 310.4
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#503B5F
secondary
#788F67
accent
#C0688D
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #503B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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