#503285#503285

#503285 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.8% C 0.133 H 296.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#503285
RGBrgb(80, 50, 133)
HSLhsl(262, 45%, 36%)
HSVhsv(262, 62%, 52%)
CMYKcmyk(39.8%, 62.4%, 0%, 47.8%)
CIE-LABlab(28.59, 32.98, -41.93)
CIE-LCHlch(28.59, 53.34, 308.18°)
OKLaboklab(39.85% 0.0595 -0.1193)
OKLCHoklch(39.85% 0.133 296.5)
XYZxyz(8.6814, 5.6800, 22.8247)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503285 #678532
analogous
#323D85 #503285 #793285
triadic
#503285 #855032 #328550
tetradic
#503285 #85323D #678532 #328579
square
#503285 #85323D #678532 #328579
split-complementary
#503285 #857932 #3D8532
monochromatic
#1A112C #352159 #503285 #6B43B1 #8C6AC7

Accessibility & contrast

On white

9.83
#503285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#503285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503285
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503285#FFFFFF#000000##FFFFFF
##5032851.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#0B4283
Tritanopia (blue-blind)
#434456
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503285;
/* rgb */ color: rgb(80, 50, 133);
/* oklch */ color: oklch(39.8% 0.133 296.5);
Tailwind
colors: {
  custom: {
    50: '#856ba9',
    500: '#503285',
    950: '#000000',
  },
}
SCSS
$custom: #503285;
$custom-light: #856ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#503285",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 261.687,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.1333,
    "h": 296.5
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#503285
secondary
#94AF64
accent
#D553A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503285

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

Preview Lab → · Contrast checker → · Palette generator →

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