#503183#503183

#503183 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.132 H 297.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#503183
RGBrgb(80, 49, 131)
HSLhsl(263, 46%, 35%)
HSVhsv(263, 63%, 51%)
CMYKcmyk(38.9%, 62.6%, 0%, 48.6%)
CIE-LABlab(28.22, 33.00, -41.27)
CIE-LCHlch(28.22, 52.84, 308.64°)
OKLaboklab(39.53% 0.0609 -0.1173)
OKLCHoklch(39.53% 0.132 297.4)
XYZxyz(8.5023, 5.5407, 22.0898)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503183 #648331
analogous
#313B83 #503183 #793183
triadic
#503183 #835031 #318350
tetradic
#503183 #83313B #648331 #318379
square
#503183 #83313B #648331 #318379
split-complementary
#503183 #837931 #3B8331
monochromatic
#1A102A #352056 #503183 #6B42B0 #8C68C6

Accessibility & contrast

On white

9.96
#503183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#503183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503183
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503183#FFFFFF#000000##FFFFFF
##5031831.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#0D4281
Tritanopia (blue-blind)
#444355
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503183;
/* rgb */ color: rgb(80, 49, 131);
/* oklch */ color: oklch(39.5% 0.132 297.4);
Tailwind
colors: {
  custom: {
    50: '#856ba8',
    500: '#503183',
    950: '#000000',
  },
}
SCSS
$custom: #503183;
$custom-light: #856ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#503183",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 262.683,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.1322,
    "h": 297.4
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#503183
secondary
#91AE62
accent
#D553A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #503183

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

Preview Lab → · Contrast checker → · Palette generator →

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