#5437AB#5437AB

#5437AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.175 H 288.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5437AB
RGBrgb(84, 55, 171)
HSLhsl(255, 51%, 44%)
HSVhsv(255, 68%, 67%)
CMYKcmyk(50.9%, 67.8%, 0%, 32.9%)
CIE-LABlab(33.04, 42.00, -57.88)
CIE-LCHlch(33.04, 71.51, 305.97°)
OKLaboklab(44.1% 0.0558 -0.166)
OKLCHoklch(44.1% 0.175 288.6)
XYZxyz(12.3709, 7.5569, 39.3270)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437AB #8EAB37
analogous
#3754AB #5437AB #8E37AB
triadic
#5437AB #AB5437 #37AB54
tetradic
#5437AB #AB3754 #8EAB37 #37AB8E
square
#5437AB #AB3754 #8EAB37 #37AB8E
split-complementary
#5437AB #AB8E37 #54AB37
monochromatic
#27194E #3D287D #5437AB #7356C9 #9985D8

Accessibility & contrast

On white

8.36
#5437AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5437AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437AB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437AB#FFFFFF#000000##FFFFFF
##5437AB1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#35546C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5437ab;
/* rgb */ color: rgb(84, 55, 171);
/* oklch */ color: oklch(44.1% 0.175 288.6);
Tailwind
colors: {
  custom: {
    50: '#8c70c5',
    500: '#5437ab',
    950: '#000000',
  },
}
SCSS
$custom: #5437ab;
$custom-light: #8c70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5437ab",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 255,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.17515,
    "h": 288.6
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#5437AB
secondary
#B0C17C
accent
#DB4DB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5437AB

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

Preview Lab → · Contrast checker → · Palette generator →

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