#503185#503185

#503185 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.135 H 296.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#503185
RGBrgb(80, 49, 133)
HSLhsl(262, 46%, 36%)
HSVhsv(262, 63%, 52%)
CMYKcmyk(39.8%, 63.2%, 0%, 47.8%)
CIE-LABlab(28.37, 33.57, -42.29)
CIE-LCHlch(28.37, 53.99, 308.44°)
OKLaboklab(39.68% 0.0608 -0.1203)
OKLCHoklch(39.68% 0.135 296.8)
XYZxyz(8.6391, 5.5954, 22.8106)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503185 #668531
analogous
#313C85 #503185 #7A3185
triadic
#503185 #855031 #318550
tetradic
#503185 #85313C #668531 #31857A
square
#503185 #85313C #668531 #31857A
split-complementary
#503185 #857A31 #3C8531
monochromatic
#1A102C #352158 #503185 #6B41B2 #8C69C8

Accessibility & contrast

On white

9.91
#503185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#503185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503185
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503185#FFFFFF#000000##FFFFFF
##5031851.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#084283
Tritanopia (blue-blind)
#434356
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503185;
/* rgb */ color: rgb(80, 49, 133);
/* oklch */ color: oklch(39.7% 0.135 296.8);
Tailwind
colors: {
  custom: {
    50: '#856ba9',
    500: '#503185',
    950: '#000000',
  },
}
SCSS
$custom: #503185;
$custom-light: #856ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#503185",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 262.143,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39684,
    "c": 0.13481,
    "h": 296.8
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#503185
secondary
#93AF63
accent
#D652A5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503185

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

Preview Lab → · Contrast checker → · Palette generator →

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