#5437B6#5437B6

#5437B6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.189 H 286.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5437B6
RGBrgb(84, 55, 182)
HSLhsl(254, 54%, 46%)
HSVhsv(254, 70%, 71%)
CMYKcmyk(53.8%, 69.8%, 0%, 28.6%)
CIE-LABlab(33.97, 45.25, -62.91)
CIE-LCHlch(33.97, 77.49, 305.73°)
OKLaboklab(45.05% 0.054 -0.1808)
OKLCHoklch(45.05% 0.189 286.6)
XYZxyz(13.4633, 7.9939, 45.0805)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437B6 #99B637
analogous
#375AB6 #5437B6 #9437B6
triadic
#5437B6 #B65437 #37B654
tetradic
#5437B6 #B6375A #99B637 #37B694
square
#5437B6 #B6375A #99B637 #37B694
split-complementary
#5437B6 #B69437 #5AB637
monochromatic
#291B58 #3E2987 #5437B6 #765CCE #9E8BDC

Accessibility & contrast

On white

8.08
#5437B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5437B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437B6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437B6#FFFFFF#000000##FFFFFF
##5437B61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#2C5872
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5437b6;
/* rgb */ color: rgb(84, 55, 182);
/* oklch */ color: oklch(45.0% 0.189 286.6);
Tailwind
colors: {
  custom: {
    50: '#8e70cd',
    500: '#5437b6',
    950: '#000000',
  },
}
SCSS
$custom: #5437b6;
$custom-light: #8e70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5437b6",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 253.701,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.18869,
    "h": 286.6
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#5437B6
secondary
#B7C682
accent
#DD4BBC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5437B6

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

Preview Lab → · Contrast checker → · Palette generator →

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