#5435BE#5435BE

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

Color values

HEX#5435BE
RGBrgb(84, 53, 190)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(55.8%, 72.1%, 0%, 25.5%)
CIE-LABlab(34.29, 48.68, -67.11)
CIE-LCHlch(34.29, 82.90, 305.95°)
OKLaboklab(45.49% 0.0541 -0.1931)
OKLCHoklch(45.49% 0.201 285.6)
XYZxyz(14.2207, 8.1479, 49.5286)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435BE #9FBE35
analogous
#355ABE #5435BE #9935BE
triadic
#5435BE #BE5435 #35BE54
tetradic
#5435BE #BE355A #9FBE35 #35BE99
square
#5435BE #BE355A #9FBE35 #35BE99
split-complementary
#5435BE #BE9935 #5ABE35
monochromatic
#2A1A5E #3F288E #5435BE #785ED2 #A08EDF

Accessibility & contrast

On white

7.99
#5435BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5435BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435BE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435BE#FFFFFF#000000##FFFFFF
##5435BE1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#235A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5435be;
/* rgb */ color: rgb(84, 53, 190);
/* oklch */ color: oklch(45.5% 0.201 285.6);
Tailwind
colors: {
  custom: {
    50: '#8f6fd3',
    500: '#5435be',
    950: '#000000',
  },
}
SCSS
$custom: #5435be;
$custom-light: #8f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5435be",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 253.577,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.20054,
    "h": 285.6
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#5435BE
secondary
#BACA85
accent
#E048BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5435BE

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

Preview Lab → · Contrast checker → · Palette generator →

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