#5431BE#5431BE

#5431BE is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.205 H 286.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#5431BE
RGBrgb(84, 49, 190)
HSLhsl(255, 59%, 47%)
HSVhsv(255, 74%, 75%)
CMYKcmyk(55.8%, 74.2%, 0%, 25.5%)
CIE-LABlab(33.56, 50.73, -68.31)
CIE-LCHlch(33.56, 85.08, 306.60°)
OKLaboklab(44.98% 0.0572 -0.1966)
OKLCHoklch(44.98% 0.205 286.2)
XYZxyz(14.0459, 7.7984, 49.4703)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5431BE #9BBE31
analogous
#3154BE #5431BE #9B31BE
triadic
#5431BE #BE5431 #31BE54
tetradic
#5431BE #BE3154 #9BBE31 #31BE9B
square
#5431BE #BE3154 #9BBE31 #31BE9B
split-complementary
#5431BE #BE9B31 #54BE31
monochromatic
#29185D #3E248D #5431BE #7758D4 #9F89E1

Accessibility & contrast

On white

8.20
#5431BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5431BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5431BE
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5431BE#FFFFFF#000000##FFFFFF
##5431BE1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#235875
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5431be;
/* rgb */ color: rgb(84, 49, 190);
/* oklch */ color: oklch(45.0% 0.205 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f6dd3',
    500: '#5431be',
    950: '#000000',
  },
}
SCSS
$custom: #5431be;
$custom-light: #8f6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5431be",
  "rgb": {
    "r": 84,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 254.894,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.20475,
    "h": 286.2
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#5431BE
secondary
#B8CA80
accent
#E246BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5431BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5431BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva