#503195#503195

#503195 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.155 H 292.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#503195
RGBrgb(80, 49, 149)
HSLhsl(259, 51%, 39%)
HSVhsv(259, 67%, 58%)
CMYKcmyk(46.3%, 67.1%, 0%, 41.6%)
CIE-LABlab(29.59, 38.18, -50.19)
CIE-LCHlch(29.59, 63.06, 307.26°)
OKLaboklab(40.96% 0.0593 -0.1436)
OKLCHoklch(40.96% 0.155 292.4)
XYZxyz(9.8299, 6.0717, 29.0820)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503195 #769531
analogous
#314495 #503195 #823195
triadic
#503195 #955031 #319550
tetradic
#503195 #953144 #769531 #319582
square
#503195 #953144 #769531 #319582
split-complementary
#503195 #958231 #449531
monochromatic
#1F1339 #372267 #503195 #6A42C1 #8E70D0

Accessibility & contrast

On white

9.48
#503195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#503195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503195
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503195#FFFFFF#000000##FFFFFF
##5031951.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503195;
/* rgb */ color: rgb(80, 49, 149);
/* oklch */ color: oklch(41.0% 0.155 292.4);
Tailwind
colors: {
  custom: {
    50: '#876bb5',
    500: '#503195',
    950: '#000000',
  },
}
SCSS
$custom: #503195;
$custom-light: #876bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#503195",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 258.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.15533,
    "h": 292.4
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#503195
secondary
#A0B86A
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503195

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

Preview Lab → · Contrast checker → · Palette generator →

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