#503D62#503D62

#503D62 is a dark, moderate violet. Relative luminance 0.059; OKLCH L 39.6% C 0.065 H 307.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#503D62
RGBrgb(80, 61, 98)
HSLhsl(271, 23%, 31%)
HSVhsv(271, 38%, 38%)
CMYKcmyk(18.4%, 37.8%, 0%, 61.6%)
CIE-LABlab(29.22, 16.45, -18.76)
CIE-LCHlch(29.22, 24.95, 311.25°)
OKLaboklab(39.64% 0.0393 -0.0518)
OKLCHoklch(39.64% 0.065 307.2)
XYZxyz(7.1812, 5.9249, 12.3182)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503D62 #4F623D
analogous
#3D3D62 #503D62 #623D61
triadic
#503D62 #62503D #3D6250
tetradic
#503D62 #623D3D #4F623D #3D6162
square
#503D62 #623D3D #4F623D #3D6162
split-complementary
#503D62 #61623D #3D623D
monochromatic
#120E17 #31263C #503D62 #6F5488 #8D72A7

Accessibility & contrast

On white

9.61
#503D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#503D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503D62
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503D62#FFFFFF#000000##FFFFFF
##503D621.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364463
Deuteranopia (green-blind)
#3A4561
Tritanopia (blue-blind)
#4E424B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #503d62;
/* rgb */ color: rgb(80, 61, 98);
/* oklch */ color: oklch(39.6% 0.065 307.2);
Tailwind
colors: {
  custom: {
    50: '#82728e',
    500: '#503d62',
    950: '#000000',
  },
}
SCSS
$custom: #503d62;
$custom-light: #82728e;
$custom-dark: #000000;
JSON
{
  "hex": "#503d62",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 98
  },
  "hsl": {
    "h": 270.811,
    "s": 23.27,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39638,
    "c": 0.06503,
    "h": 307.2
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#503D62
secondary
#7D9269
accent
#C06893
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #503D62

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

Preview Lab → · Contrast checker → · Palette generator →

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