#5437B3#5437B3

#5437B3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.185 H 287.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5437B3
RGBrgb(84, 55, 179)
HSLhsl(254, 53%, 46%)
HSVhsv(254, 69%, 70%)
CMYKcmyk(53.1%, 69.3%, 0%, 29.8%)
CIE-LABlab(33.71, 44.36, -61.55)
CIE-LCHlch(33.71, 75.87, 305.78°)
OKLaboklab(44.79% 0.0545 -0.1768)
OKLCHoklch(44.79% 0.185 287.1)
XYZxyz(13.1566, 7.8712, 43.4651)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437B3 #96B337
analogous
#3758B3 #5437B3 #9237B3
triadic
#5437B3 #B35437 #37B354
tetradic
#5437B3 #B33758 #96B337 #37B392
square
#5437B3 #B33758 #96B337 #37B392
split-complementary
#5437B3 #B39237 #58B337
monochromatic
#281A55 #3E2984 #5437B3 #755BCD #9D8ADB

Accessibility & contrast

On white

8.16
#5437B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5437B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437B3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437B3#FFFFFF#000000##FFFFFF
##5437B31.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#2E5771
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5437b3;
/* rgb */ color: rgb(84, 55, 179);
/* oklch */ color: oklch(44.8% 0.185 287.1);
Tailwind
colors: {
  custom: {
    50: '#8d70cb',
    500: '#5437b3',
    950: '#000000',
  },
}
SCSS
$custom: #5437b3;
$custom-light: #8d70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5437b3",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 254.032,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44786,
    "c": 0.18502,
    "h": 287.1
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#5437B3
secondary
#B5C581
accent
#DC4BBA
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5437B3

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

Preview Lab → · Contrast checker → · Palette generator →

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