#503288#503288

#503288 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.137 H 295.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#503288
RGBrgb(80, 50, 136)
HSLhsl(261, 46%, 36%)
HSVhsv(261, 63%, 53%)
CMYKcmyk(41.2%, 63.2%, 0%, 46.7%)
CIE-LABlab(28.81, 33.83, -43.44)
CIE-LCHlch(28.81, 55.06, 307.91°)
OKLaboklab(40.08% 0.0594 -0.1237)
OKLCHoklch(40.08% 0.137 295.6)
XYZxyz(8.8916, 5.7641, 23.9319)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503288 #6A8832
analogous
#323F88 #503288 #7B3288
triadic
#503288 #885032 #328850
tetradic
#503288 #88323F #6A8832 #32887B
square
#503288 #88323F #6A8832 #32887B
split-complementary
#503288 #887B32 #3F8832
monochromatic
#1B112F #36225B #503288 #6A42B5 #8C6CC9

Accessibility & contrast

On white

9.75
#503288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#503288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503288
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503288#FFFFFF#000000##FFFFFF
##5032881.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#034386
Tritanopia (blue-blind)
#424558
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #503288;
/* rgb */ color: rgb(80, 50, 136);
/* oklch */ color: oklch(40.1% 0.137 295.6);
Tailwind
colors: {
  custom: {
    50: '#856bab',
    500: '#503288',
    950: '#000000',
  },
}
SCSS
$custom: #503288;
$custom-light: #856bab;
$custom-dark: #000000;
JSON
{
  "hex": "#503288",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 260.93,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.13723,
    "h": 295.6
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#503288
secondary
#96B065
accent
#D652A8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503288

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

Preview Lab → · Contrast checker → · Palette generator →

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