#5037BB#5037BB

#5037BB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.195 H 284.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5037BB
RGBrgb(80, 55, 187)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(57.2%, 70.6%, 0%, 26.7%)
CIE-LABlab(34.03, 46.12, -65.77)
CIE-LCHlch(34.03, 80.33, 305.04°)
OKLaboklab(45.14% 0.0474 -0.1893)
OKLCHoklch(45.14% 0.195 284)
XYZxyz(13.6413, 8.0249, 47.8342)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5037BB #A2BB37
analogous
#3760BB #5037BB #9237BB
triadic
#5037BB #BB5037 #37BB50
tetradic
#5037BB #BB3760 #A2BB37 #37BB92
square
#5037BB #BB3760 #A2BB37 #37BB92
split-complementary
#5037BB #BB9237 #60BB37
monochromatic
#281B5C #3C298C #5037BB #755FD0 #9E8EDE

Accessibility & contrast

On white

8.06
#5037BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5037BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5037BB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5037BB#FFFFFF#000000##FFFFFF
##5037BB1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#185A75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5037bb;
/* rgb */ color: rgb(80, 55, 187);
/* oklch */ color: oklch(45.1% 0.195 284.0);
Tailwind
colors: {
  custom: {
    50: '#8c70d1',
    500: '#5037bb',
    950: '#000000',
  },
}
SCSS
$custom: #5037bb;
$custom-light: #8c70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5037bb",
  "rgb": {
    "r": 80,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 251.364,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.19517,
    "h": 284
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#5037BB
secondary
#BCC985
accent
#DE4AC2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5037BB

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

Preview Lab → · Contrast checker → · Palette generator →

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