#5437A8#5437A8

#5437A8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.171 H 289.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5437A8
RGBrgb(84, 55, 168)
HSLhsl(255, 51%, 44%)
HSVhsv(255, 67%, 66%)
CMYKcmyk(50%, 67.3%, 0%, 34.1%)
CIE-LABlab(32.80, 41.12, -56.48)
CIE-LCHlch(32.80, 69.86, 306.05°)
OKLaboklab(43.84% 0.0562 -0.1619)
OKLCHoklch(43.84% 0.171 289.1)
XYZxyz(12.0882, 7.4438, 37.8381)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437A8 #8BA837
analogous
#3752A8 #5437A8 #8C37A8
triadic
#5437A8 #A85437 #37A854
tetradic
#5437A8 #A83752 #8BA837 #37A88C
square
#5437A8 #A83752 #8BA837 #37A88C
split-complementary
#5437A8 #A88C37 #52A837
monochromatic
#26194C #3D287A #5437A8 #7255C7 #9883D6

Accessibility & contrast

On white

8.44
#5437A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5437A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437A8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437A8#FFFFFF#000000##FFFFFF
##5437A81.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#37536B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5437a8;
/* rgb */ color: rgb(84, 55, 168);
/* oklch */ color: oklch(43.8% 0.171 289.1);
Tailwind
colors: {
  custom: {
    50: '#8c70c3',
    500: '#5437a8',
    950: '#000000',
  },
}
SCSS
$custom: #5437a8;
$custom-light: #8c70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5437a8",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 255.398,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43844,
    "c": 0.17141,
    "h": 289.1
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#5437A8
secondary
#AEC07B
accent
#DA4EB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5437A8

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

Preview Lab → · Contrast checker → · Palette generator →

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