#5035BD#5035BD

#5035BD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.200 H 284.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5035BD
RGBrgb(80, 53, 189)
HSLhsl(252, 56%, 47%)
HSVhsv(252, 72%, 74%)
CMYKcmyk(57.7%, 72%, 0%, 25.9%)
CIE-LABlab(33.83, 47.80, -67.29)
CIE-LCHlch(33.83, 82.54, 305.39°)
OKLaboklab(45.05% 0.0486 -0.1938)
OKLCHoklch(45.05% 0.2 284.1)
XYZxyz(13.7639, 7.9249, 48.9386)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035BD #A2BD35
analogous
#355EBD #5035BD #9435BD
triadic
#5035BD #BD5035 #35BD50
tetradic
#5035BD #BD355E #A2BD35 #35BD94
square
#5035BD #BD355E #A2BD35 #35BD94
split-complementary
#5035BD #BD9435 #5EBD35
monochromatic
#281A5D #3C288D #5035BD #755DD2 #9E8DDF

Accessibility & contrast

On white

8.12
#5035BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5035BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035BD
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035BD#FFFFFF#000000##FFFFFF
##5035BD1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#145A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5035bd;
/* rgb */ color: rgb(80, 53, 189);
/* oklch */ color: oklch(45.0% 0.200 284.1);
Tailwind
colors: {
  custom: {
    50: '#8d6fd2',
    500: '#5035bd',
    950: '#000000',
  },
}
SCSS
$custom: #5035bd;
$custom-light: #8d6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5035bd",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 251.912,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.19977,
    "h": 284.1
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#5035BD
secondary
#BCCA84
accent
#DF48C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5035BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5035BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva