#503295#503295

#503295 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.154 H 292.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#503295
RGBrgb(80, 50, 149)
HSLhsl(258, 50%, 39%)
HSVhsv(258, 66%, 58%)
CMYKcmyk(46.3%, 66.4%, 0%, 41.6%)
CIE-LABlab(29.80, 37.60, -49.85)
CIE-LCHlch(29.80, 62.44, 307.03°)
OKLaboklab(41.11% 0.0582 -0.1426)
OKLCHoklch(41.11% 0.154 292.2)
XYZxyz(9.8722, 6.1563, 29.0961)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503295 #779532
analogous
#324695 #503295 #823295
triadic
#503295 #955032 #329550
tetradic
#503295 #953246 #779532 #329582
square
#503295 #953246 #779532 #329582
split-complementary
#503295 #958232 #469532
monochromatic
#1F1339 #372367 #503295 #6A44C0 #8E72D0

Accessibility & contrast

On white

9.41
#503295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#503295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503295
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503295#FFFFFF#000000##FFFFFF
##5032951.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#3C4A5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503295;
/* rgb */ color: rgb(80, 50, 149);
/* oklch */ color: oklch(41.1% 0.154 292.2);
Tailwind
colors: {
  custom: {
    50: '#876cb5',
    500: '#503295',
    950: '#000000',
  },
}
SCSS
$custom: #503295;
$custom-light: #876cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#503295",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 258.182,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.15399,
    "h": 292.2
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#503295
secondary
#A0B86B
accent
#D94FAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503295

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

Preview Lab → · Contrast checker → · Palette generator →

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