#5435CC#5435CC

#5435CC is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.217 H 283.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5435CC
RGBrgb(84, 53, 204)
HSLhsl(252, 60%, 50%)
HSVhsv(252, 74%, 80%)
CMYKcmyk(58.8%, 74%, 0%, 20%)
CIE-LABlab(35.58, 52.76, -73.18)
CIE-LCHlch(35.58, 90.21, 305.79°)
OKLaboklab(46.79% 0.0509 -0.2109)
OKLCHoklch(46.79% 0.217 283.6)
XYZxyz(15.8250, 8.7896, 57.9777)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435CC #ADCC35
analogous
#3561CC #5435CC #A035CC
triadic
#5435CC #CC5435 #35CC54
tetradic
#5435CC #CC3561 #ADCC35 #35CCA0
square
#5435CC #CC3561 #ADCC35 #35CCA0
split-complementary
#5435CC #CCA035 #61CC35
monochromatic
#2C1B6B #3F279C #5435CC #7D66D8 #A797E5

Accessibility & contrast

On white

7.61
#5435CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5435CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435CC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435CC#FFFFFF#000000##FFFFFF
##5435CC1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#025F7E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5435cc;
/* rgb */ color: rgb(84, 53, 204);
/* oklch */ color: oklch(46.8% 0.217 283.6);
Tailwind
colors: {
  custom: {
    50: '#9170dd',
    500: '#5435cc',
    950: '#000000',
  },
}
SCSS
$custom: #5435cc;
$custom-light: #9170dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5435cc",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 252.318,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.21694,
    "h": 283.6
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#5435CC
secondary
#C2D08D
accent
#E345C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5435CC

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

Preview Lab → · Contrast checker → · Palette generator →

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