#5437CB#5437CB

#5437CB is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.214 H 283.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5437CB
RGBrgb(84, 55, 203)
HSLhsl(252, 59%, 51%)
HSVhsv(252, 73%, 80%)
CMYKcmyk(58.6%, 72.9%, 0%, 20.4%)
CIE-LABlab(35.85, 51.44, -72.16)
CIE-LCHlch(35.85, 88.62, 305.49°)
OKLaboklab(46.96% 0.0497 -0.2079)
OKLCHoklch(46.96% 0.214 283.4)
XYZxyz(15.7985, 8.9280, 57.3791)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437CB #AECB37
analogous
#3764CB #5437CB #9E37CB
triadic
#5437CB #CB5437 #37CB54
tetradic
#5437CB #CB3764 #AECB37 #37CB9E
square
#5437CB #CB3764 #AECB37 #37CB9E
split-complementary
#5437CB #CB9E37 #64CB37
monochromatic
#2C1C6C #3F299C #5437CB #7E68D8 #A798E4

Accessibility & contrast

On white

7.54
#5437CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5437CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437CB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437CB#FFFFFF#000000##FFFFFF
##5437CB1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004FC8
Tritanopia (blue-blind)
#05607E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5437cb;
/* rgb */ color: rgb(84, 55, 203);
/* oklch */ color: oklch(47.0% 0.214 283.4);
Tailwind
colors: {
  custom: {
    50: '#9171dc',
    500: '#5437cb',
    950: '#000000',
  },
}
SCSS
$custom: #5437cb;
$custom-light: #9171dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5437cb",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 251.757,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.21376,
    "h": 283.4
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#5437CB
secondary
#C3D08E
accent
#E246C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5437CB

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

Preview Lab → · Contrast checker → · Palette generator →

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