#5431BC#5431BC

#5431BC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.8% C 0.202 H 286.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5431BC
RGBrgb(84, 49, 188)
HSLhsl(255, 59%, 46%)
HSVhsv(255, 74%, 74%)
CMYKcmyk(55.3%, 73.9%, 0%, 26.3%)
CIE-LABlab(33.37, 50.16, -67.43)
CIE-LCHlch(33.37, 84.04, 306.64°)
OKLaboklab(44.79% 0.0577 -0.194)
OKLCHoklch(44.79% 0.202 286.6)
XYZxyz(13.8289, 7.7115, 48.3270)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5431BC #99BC31
analogous
#3154BC #5431BC #9A31BC
triadic
#5431BC #BC5431 #31BC54
tetradic
#5431BC #BC3154 #99BC31 #31BC9A
square
#5431BC #BC3154 #99BC31 #31BC9A
split-complementary
#5431BC #BC9A31 #54BC31
monochromatic
#29185B #3E248B #5431BC #7657D3 #9E88E0

Accessibility & contrast

On white

8.26
#5431BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5431BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5431BC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5431BC#FFFFFF#000000##FFFFFF
##5431BC1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#265774
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5431bc;
/* rgb */ color: rgb(84, 49, 188);
/* oklch */ color: oklch(44.8% 0.202 286.6);
Tailwind
colors: {
  custom: {
    50: '#8f6dd1',
    500: '#5431bc',
    950: '#000000',
  },
}
SCSS
$custom: #5431bc;
$custom-light: #8f6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5431bc",
  "rgb": {
    "r": 84,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 255.108,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.20242,
    "h": 286.6
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5431BC

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

Preview Lab → · Contrast checker → · Palette generator →

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