#5437BA#5437BA

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

Color values

HEX#5437BA
RGBrgb(84, 55, 186)
HSLhsl(253, 54%, 47%)
HSVhsv(253, 70%, 73%)
CMYKcmyk(54.8%, 70.4%, 0%, 27.1%)
CIE-LABlab(34.32, 46.43, -64.71)
CIE-LCHlch(34.32, 79.64, 305.66°)
OKLaboklab(45.4% 0.0532 -0.1861)
OKLCHoklch(45.4% 0.194 286)
XYZxyz(13.8826, 8.1616, 47.2887)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437BA #9DBA37
analogous
#375CBA #5437BA #9537BA
triadic
#5437BA #BA5437 #37BA54
tetradic
#5437BA #BA375C #9DBA37 #37BA95
square
#5437BA #BA375C #9DBA37 #37BA95
split-complementary
#5437BA #BA9537 #5CBA37
monochromatic
#291B5C #3F298B #5437BA #785FD0 #9F8EDE

Accessibility & contrast

On white

7.98
#5437BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5437BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437BA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437BA#FFFFFF#000000##FFFFFF
##5437BA1.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)
#0054BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#275A74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5437ba;
/* rgb */ color: rgb(84, 55, 186);
/* oklch */ color: oklch(45.4% 0.194 286.0);
Tailwind
colors: {
  custom: {
    50: '#8e70d0',
    500: '#5437ba',
    950: '#000000',
  },
}
SCSS
$custom: #5437ba;
$custom-light: #8e70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5437ba",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 253.282,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.19354,
    "h": 286
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#5437BA
secondary
#B9C885
accent
#DE4ABD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5437BA

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

Preview Lab → · Contrast checker → · Palette generator →

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