#5037BE#5037BE

#5037BE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.199 H 283.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5037BE
RGBrgb(80, 55, 190)
HSLhsl(251, 55%, 48%)
HSVhsv(251, 71%, 75%)
CMYKcmyk(57.9%, 71.1%, 0%, 25.5%)
CIE-LABlab(34.30, 47.02, -67.10)
CIE-LCHlch(34.30, 81.93, 305.02°)
OKLaboklab(45.41% 0.0468 -0.1932)
OKLCHoklch(45.41% 0.199 283.6)
XYZxyz(13.9659, 8.1547, 49.5433)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5037BE #A5BE37
analogous
#3761BE #5037BE #9337BE
triadic
#5037BE #BE5037 #37BE50
tetradic
#5037BE #BE3761 #A5BE37 #37BE93
square
#5037BE #BE3761 #A5BE37 #37BE93
split-complementary
#5037BE #BE9337 #61BE37
monochromatic
#281C5F #3C298F #5037BE #7661D1 #9F90DF

Accessibility & contrast

On white

7.98
#5037BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5037BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5037BE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5037BE#FFFFFF#000000##FFFFFF
##5037BE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#115B77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5037be;
/* rgb */ color: rgb(80, 55, 190);
/* oklch */ color: oklch(45.4% 0.199 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d70d3',
    500: '#5037be',
    950: '#000000',
  },
}
SCSS
$custom: #5037be;
$custom-light: #8d70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5037be",
  "rgb": {
    "r": 80,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 251.111,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.19881,
    "h": 283.6
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#5037BE
secondary
#BDCA87
accent
#DE49C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #5037BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5037BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva