#5437C6#5437C6

#5437C6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.208 H 284.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5437C6
RGBrgb(84, 55, 198)
HSLhsl(252, 57%, 50%)
HSVhsv(252, 72%, 78%)
CMYKcmyk(57.6%, 72.2%, 0%, 22.4%)
CIE-LABlab(35.39, 49.97, -70.00)
CIE-LCHlch(35.39, 86.00, 305.52°)
OKLaboklab(46.49% 0.0508 -0.2016)
OKLCHoklch(46.49% 0.208 284.1)
XYZxyz(15.2123, 8.6935, 54.2915)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437C6 #A9C637
analogous
#3761C6 #5437C6 #9C37C6
triadic
#5437C6 #C65437 #37C654
tetradic
#5437C6 #C63761 #A9C637 #37C69C
square
#5437C6 #C63761 #A9C637 #37C69C
split-complementary
#5437C6 #C69C37 #61C637
monochromatic
#2B1C66 #402A96 #5437C6 #7C66D4 #A596E2

Accessibility & contrast

On white

7.67
#5437C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5437C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437C6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437C6#FFFFFF#000000##FFFFFF
##5437C61.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#155E7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5437c6;
/* rgb */ color: rgb(84, 55, 198);
/* oklch */ color: oklch(46.5% 0.208 284.1);
Tailwind
colors: {
  custom: {
    50: '#9071d8',
    500: '#5437c6',
    950: '#000000',
  },
}
SCSS
$custom: #5437c6;
$custom-light: #9071d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5437c6",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 252.168,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.20788,
    "h": 284.1
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#5437C6
secondary
#C0CD8C
accent
#E048C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5437C6

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

Preview Lab → · Contrast checker → · Palette generator →

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