#503262#503262

#503262 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.5% C 0.086 H 311.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#503262
RGBrgb(80, 50, 98)
HSLhsl(278, 32%, 29%)
HSVhsv(278, 49%, 38%)
CMYKcmyk(18.4%, 49%, 0%, 61.6%)
CIE-LABlab(26.36, 23.49, -23.24)
CIE-LCHlch(26.36, 33.04, 315.31°)
OKLaboklab(37.48% 0.0575 -0.0646)
OKLCHoklch(37.48% 0.087 311.7)
XYZxyz(6.6531, 4.8686, 12.1422)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503262 #446232
analogous
#383262 #503262 #62325C
triadic
#503262 #625032 #326250
tetradic
#503262 #623832 #446232 #325C62
square
#503262 #623832 #446232 #325C62
split-complementary
#503262 #5C6232 #326238
monochromatic
#110A14 #2F1D39 #503262 #71478B #9160AE

Accessibility & contrast

On white

10.64
#503262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#503262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503262
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503262#FFFFFF#000000##FFFFFF
##5032621.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D64
Deuteranopia (green-blind)
#303F61
Tritanopia (blue-blind)
#4E3945
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #503262;
/* rgb */ color: rgb(80, 50, 98);
/* oklch */ color: oklch(37.5% 0.086 311.7);
Tailwind
colors: {
  custom: {
    50: '#826b8f',
    500: '#503262',
    950: '#000000',
  },
}
SCSS
$custom: #503262;
$custom-light: #826b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#503262",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 277.5,
    "s": 32.432,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.0865,
    "h": 311.7
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#503262
secondary
#71935D
accent
#C95F87
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #503262

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

Preview Lab → · Contrast checker → · Palette generator →

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