#5437B2#5437B2

#5437B2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.184 H 287.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5437B2
RGBrgb(84, 55, 178)
HSLhsl(254, 53%, 46%)
HSVhsv(254, 69%, 70%)
CMYKcmyk(52.8%, 69.1%, 0%, 30.2%)
CIE-LABlab(33.63, 44.07, -61.09)
CIE-LCHlch(33.63, 75.33, 305.80°)
OKLaboklab(44.7% 0.0547 -0.1755)
OKLCHoklch(44.7% 0.184 287.3)
XYZxyz(13.0559, 7.8309, 42.9344)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437B2 #95B237
analogous
#3758B2 #5437B2 #9137B2
triadic
#5437B2 #B25437 #37B254
tetradic
#5437B2 #B23758 #95B237 #37B291
square
#5437B2 #B23758 #95B237 #37B291
split-complementary
#5437B2 #B29137 #58B237
monochromatic
#281A54 #3E2983 #5437B2 #755ACC #9C89DB

Accessibility & contrast

On white

8.18
#5437B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5437B2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437B2#FFFFFF#000000##FFFFFF
##5437B21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#2F5770
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5437b2;
/* rgb */ color: rgb(84, 55, 178);
/* oklch */ color: oklch(44.7% 0.184 287.3);
Tailwind
colors: {
  custom: {
    50: '#8d70ca',
    500: '#5437b2',
    950: '#000000',
  },
}
SCSS
$custom: #5437b2;
$custom-light: #8d70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5437b2",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 254.146,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44699,
    "c": 0.18379,
    "h": 287.3
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#5437B2
secondary
#B4C580
accent
#DC4CBA
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5437B2

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

Preview Lab → · Contrast checker → · Palette generator →

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