#5437B7#5437B7

#5437B7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.190 H 286.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5437B7
RGBrgb(84, 55, 183)
HSLhsl(254, 54%, 47%)
HSVhsv(254, 70%, 72%)
CMYKcmyk(54.1%, 69.9%, 0%, 28.2%)
CIE-LABlab(34.06, 45.55, -63.36)
CIE-LCHlch(34.06, 78.03, 305.71°)
OKLaboklab(45.14% 0.0538 -0.1821)
OKLCHoklch(45.14% 0.19 286.5)
XYZxyz(13.5670, 8.0354, 45.6267)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437B7 #9AB737
analogous
#375AB7 #5437B7 #9437B7
triadic
#5437B7 #B75437 #37B754
tetradic
#5437B7 #B7375A #9AB737 #37B794
square
#5437B7 #B7375A #9AB737 #37B794
split-complementary
#5437B7 #B79437 #5AB737
monochromatic
#291B59 #3E2988 #5437B7 #775DCE #9E8CDC

Accessibility & contrast

On white

8.05
#5437B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5437B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437B7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437B7#FFFFFF#000000##FFFFFF
##5437B71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#2B5873
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5437b7;
/* rgb */ color: rgb(84, 55, 183);
/* oklch */ color: oklch(45.1% 0.190 286.5);
Tailwind
colors: {
  custom: {
    50: '#8e70ce',
    500: '#5437b7',
    950: '#000000',
  },
}
SCSS
$custom: #5437b7;
$custom-light: #8e70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5437b7",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 253.594,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.1899,
    "h": 286.5
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#5437B7
secondary
#B7C783
accent
#DD4BBC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5437B7

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

Preview Lab → · Contrast checker → · Palette generator →

#5437B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva