#5434BF#5434BF

#5434BF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.203 H 285.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5434BF
RGBrgb(84, 52, 191)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 73%, 75%)
CMYKcmyk(56%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.19, 49.49, -67.85)
CIE-LCHlch(34.19, 83.98, 306.10°)
OKLaboklab(45.45% 0.0546 -0.1953)
OKLCHoklch(45.45% 0.203 285.6)
XYZxyz(14.2853, 8.1016, 50.0911)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434BF #9FBF34
analogous
#3459BF #5434BF #9A34BF
triadic
#5434BF #BF5434 #34BF54
tetradic
#5434BF #BF3459 #9FBF34 #34BF9A
square
#5434BF #BF3459 #9FBF34 #34BF9A
split-complementary
#5434BF #BF9A34 #59BF34
monochromatic
#2A1A5F #3F278F #5434BF #785DD3 #A08DE0

Accessibility & contrast

On white

8.01
#5434BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5434BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434BF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434BF#FFFFFF#000000##FFFFFF
##5434BF1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#215A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5434bf;
/* rgb */ color: rgb(84, 52, 191);
/* oklch */ color: oklch(45.5% 0.203 285.6);
Tailwind
colors: {
  custom: {
    50: '#8f6fd3',
    500: '#5434bf',
    950: '#000000',
  },
}
SCSS
$custom: #5434bf;
$custom-light: #8f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5434bf",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 253.813,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.20279,
    "h": 285.6
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#5434BF
secondary
#BACA84
accent
#E047BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5434BF

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

Preview Lab → · Contrast checker → · Palette generator →

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