#5435C0#5435C0

#5435C0 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.203 H 285.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5435C0
RGBrgb(84, 53, 192)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(56.3%, 72.4%, 0%, 24.7%)
CIE-LABlab(34.47, 49.26, -67.99)
CIE-LCHlch(34.47, 83.96, 305.92°)
OKLaboklab(45.68% 0.0536 -0.1957)
OKLCHoklch(45.68% 0.203 285.3)
XYZxyz(14.4408, 8.2360, 50.6877)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435C0 #A1C035
analogous
#355CC0 #5435C0 #9935C0
triadic
#5435C0 #C05435 #35C054
tetradic
#5435C0 #C0355C #A1C035 #35C099
square
#5435C0 #C0355C #A1C035 #35C099
split-complementary
#5435C0 #C09935 #5CC035
monochromatic
#2A1B60 #3F2890 #5435C0 #795FD3 #A18FE0

Accessibility & contrast

On white

7.93
#5435C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5435C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435C0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435C0#FFFFFF#000000##FFFFFF
##5435C01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#205B77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5435c0;
/* rgb */ color: rgb(84, 53, 192);
/* oklch */ color: oklch(45.7% 0.203 285.3);
Tailwind
colors: {
  custom: {
    50: '#8f6fd4',
    500: '#5435c0',
    950: '#000000',
  },
}
SCSS
$custom: #5435c0;
$custom-light: #8f6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5435c0",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 253.381,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.20291,
    "h": 285.3
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#5435C0
secondary
#BBCB86
accent
#E048BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5435C0

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

Preview Lab → · Contrast checker → · Palette generator →

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