#503192#503192

#503192 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.152 H 293.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#503192
RGBrgb(80, 49, 146)
HSLhsl(259, 50%, 38%)
HSVhsv(259, 66%, 57%)
CMYKcmyk(45.2%, 66.4%, 0%, 42.7%)
CIE-LABlab(29.35, 37.31, -48.74)
CIE-LCHlch(29.35, 61.38, 307.43°)
OKLaboklab(40.71% 0.0596 -0.1393)
OKLCHoklch(40.71% 0.152 293.2)
XYZxyz(9.5935, 5.9771, 27.8368)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503192 #739231
analogous
#314292 #503192 #803192
triadic
#503192 #925031 #319250
tetradic
#503192 #923142 #739231 #319280
square
#503192 #923142 #739231 #319280
split-complementary
#503192 #928031 #429231
monochromatic
#1E1236 #372264 #503192 #6941BF #8D6FCF

Accessibility & contrast

On white

9.57
#503192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#503192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503192
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503192#FFFFFF#000000##FFFFFF
##5031921.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#3D485D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #503192;
/* rgb */ color: rgb(80, 49, 146);
/* oklch */ color: oklch(40.7% 0.152 293.2);
Tailwind
colors: {
  custom: {
    50: '#876bb3',
    500: '#503192',
    950: '#000000',
  },
}
SCSS
$custom: #503192;
$custom-light: #876bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#503192",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 259.175,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40711,
    "c": 0.15153,
    "h": 293.2
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#503192
secondary
#9DB669
accent
#D94FAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503192

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

Preview Lab → · Contrast checker → · Palette generator →

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