#5431BF#5431BF

#5431BF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.206 H 286.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5431BF
RGBrgb(84, 49, 191)
HSLhsl(255, 59%, 47%)
HSVhsv(255, 74%, 75%)
CMYKcmyk(56%, 74.3%, 0%, 25.1%)
CIE-LABlab(33.65, 51.02, -68.74)
CIE-LCHlch(33.65, 85.60, 306.58°)
OKLaboklab(45.07% 0.0569 -0.1979)
OKLCHoklch(45.07% 0.206 286.1)
XYZxyz(14.1556, 7.8422, 50.0479)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5431BF #9CBF31
analogous
#3155BF #5431BF #9B31BF
triadic
#5431BF #BF5431 #31BF54
tetradic
#5431BF #BF3155 #9CBF31 #31BF9B
square
#5431BF #BF3155 #9CBF31 #31BF9B
split-complementary
#5431BF #BF9B31 #55BF31
monochromatic
#29185E #3F258E #5431BF #7759D4 #9F8AE1

Accessibility & contrast

On white

8.18
#5431BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5431BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5431BF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5431BF#FFFFFF#000000##FFFFFF
##5431BF1.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)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#225876
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5431bf;
/* rgb */ color: rgb(84, 49, 191);
/* oklch */ color: oklch(45.1% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#906dd3',
    500: '#5431bf',
    950: '#000000',
  },
}
SCSS
$custom: #5431bf;
$custom-light: #906dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5431bf",
  "rgb": {
    "r": 84,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 254.789,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.2059,
    "h": 286.1
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#5431BF
secondary
#B9CB81
accent
#E245BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5431BF

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

Preview Lab → · Contrast checker → · Palette generator →

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