#503A8A#503A8A

#503A8A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.6% C 0.128 H 292.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#503A8A
RGBrgb(80, 58, 138)
HSLhsl(257, 41%, 38%)
HSVhsv(257, 58%, 54%)
CMYKcmyk(42%, 58%, 0%, 45.9%)
CIE-LABlab(30.80, 29.57, -41.47)
CIE-LCHlch(30.80, 50.93, 305.49°)
OKLaboklab(41.58% 0.0492 -0.1179)
OKLCHoklch(41.58% 0.128 292.6)
XYZxyz(9.4075, 6.5663, 24.8116)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A8A #748A3A
analogous
#3A4C8A #503A8A #783A8A
triadic
#503A8A #8A503A #3A8A50
tetradic
#503A8A #8A3A4C #748A3A #3A8A78
square
#503A8A #8A3A4C #748A3A #3A8A78
split-complementary
#503A8A #8A783A #4C8A3A
monochromatic
#1E1634 #37285F #503A8A #694DB4 #8E78C6

Accessibility & contrast

On white

9.08
#503A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#503A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A8A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A8A#FFFFFF#000000##FFFFFF
##503A8A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#404B5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #503a8a;
/* rgb */ color: rgb(80, 58, 138);
/* oklch */ color: oklch(41.6% 0.128 292.6);
Tailwind
colors: {
  custom: {
    50: '#8571ad',
    500: '#503a8a',
    950: '#000000',
  },
}
SCSS
$custom: #503a8a;
$custom-light: #8571ad;
$custom-dark: #000000;
JSON
{
  "hex": "#503a8a",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 256.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.12779,
    "h": 292.6
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#503A8A
secondary
#9EB070
accent
#D157AF
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#503A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva