#5435BF#5435BF

#5435BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.202 H 285.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5435BF
RGBrgb(84, 53, 191)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(56%, 72.3%, 0%, 25.1%)
CIE-LABlab(34.38, 48.97, -67.55)
CIE-LCHlch(34.38, 83.43, 305.94°)
OKLaboklab(45.58% 0.0539 -0.1944)
OKLCHoklch(45.58% 0.202 285.5)
XYZxyz(14.3304, 8.1918, 50.1062)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435BF #A0BF35
analogous
#355BBF #5435BF #9935BF
triadic
#5435BF #BF5435 #35BF54
tetradic
#5435BF #BF355B #A0BF35 #35BF99
square
#5435BF #BF355B #A0BF35 #35BF99
split-complementary
#5435BF #BF9935 #5BBF35
monochromatic
#2A1A5F #3F288F #5435BF #795FD3 #A18FE0

Accessibility & contrast

On white

7.96
#5435BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5435BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435BF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435BF#FFFFFF#000000##FFFFFF
##5435BF1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#215A77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5435bf;
/* rgb */ color: rgb(84, 53, 191);
/* oklch */ color: oklch(45.6% 0.202 285.5);
Tailwind
colors: {
  custom: {
    50: '#8f6fd3',
    500: '#5435bf',
    950: '#000000',
  },
}
SCSS
$custom: #5435bf;
$custom-light: #8f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5435bf",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 253.478,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.20172,
    "h": 285.5
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#5435BF
secondary
#BBCA85
accent
#E048BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5435BF

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

Preview Lab → · Contrast checker → · Palette generator →

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