#503283#503283

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

Color values

HEX#503283
RGBrgb(80, 50, 131)
HSLhsl(262, 45%, 35%)
HSVhsv(262, 62%, 51%)
CMYKcmyk(38.9%, 61.8%, 0%, 48.6%)
CIE-LABlab(28.45, 32.41, -40.91)
CIE-LCHlch(28.45, 52.19, 308.38°)
OKLaboklab(39.7% 0.0596 -0.1163)
OKLCHoklch(39.7% 0.131 297.1)
XYZxyz(8.5446, 5.6252, 22.1039)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503283 #658332
analogous
#323D83 #503283 #783283
triadic
#503283 #835032 #328350
tetradic
#503283 #83323D #658332 #328378
square
#503283 #83323D #658332 #328378
split-complementary
#503283 #837832 #3D8332
monochromatic
#1A102A #352157 #503283 #6B43AF #8C69C6

Accessibility & contrast

On white

9.88
#503283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#503283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503283
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503283#FFFFFF#000000##FFFFFF
##5032831.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503283;
/* rgb */ color: rgb(80, 50, 131);
/* oklch */ color: oklch(39.7% 0.131 297.1);
Tailwind
colors: {
  custom: {
    50: '#856ba8',
    500: '#503283',
    950: '#000000',
  },
}
SCSS
$custom: #503283;
$custom-light: #856ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#503283",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 262.222,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.13067,
    "h": 297.1
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#503283
secondary
#92AE63
accent
#D453A5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #503283

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

Preview Lab → · Contrast checker → · Palette generator →

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