#5435C1#5435C1

#5435C1 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.204 H 285.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5435C1
RGBrgb(84, 53, 193)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 73%, 76%)
CMYKcmyk(56.5%, 72.5%, 0%, 24.3%)
CIE-LABlab(34.56, 49.55, -68.43)
CIE-LCHlch(34.56, 84.48, 305.91°)
OKLaboklab(45.77% 0.0534 -0.197)
OKLCHoklch(45.77% 0.204 285.2)
XYZxyz(14.5520, 8.2804, 51.2732)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435C1 #A2C135
analogous
#355CC1 #5435C1 #9A35C1
triadic
#5435C1 #C15435 #35C154
tetradic
#5435C1 #C1355C #A2C135 #35C19A
square
#5435C1 #C1355C #A2C135 #35C19A
split-complementary
#5435C1 #C19A35 #5CC135
monochromatic
#2A1B61 #3F2891 #5435C1 #7960D3 #A290E0

Accessibility & contrast

On white

7.91
#5435C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5435C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435C1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435C1#FFFFFF#000000##FFFFFF
##5435C11.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#1E5B78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5435c1;
/* rgb */ color: rgb(84, 53, 193);
/* oklch */ color: oklch(45.8% 0.204 285.2);
Tailwind
colors: {
  custom: {
    50: '#906fd5',
    500: '#5435c1',
    950: '#000000',
  },
}
SCSS
$custom: #5435c1;
$custom-light: #906fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5435c1",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 253.286,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.20409,
    "h": 285.2
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5435C1

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

Preview Lab → · Contrast checker → · Palette generator →

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