#5435DC#5435DC

#5435DC is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.235 H 281.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5435DC
RGBrgb(84, 53, 220)
HSLhsl(251, 70%, 54%)
HSVhsv(251, 76%, 86%)
CMYKcmyk(61.8%, 75.9%, 0%, 13.7%)
CIE-LABlab(37.11, 57.38, -79.89)
CIE-LCHlch(37.11, 98.36, 305.68°)
OKLaboklab(48.33% 0.047 -0.2305)
OKLCHoklch(48.33% 0.235 281.5)
XYZxyz(17.8435, 9.5970, 68.6084)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5435DC #BDDC35
analogous
#3569DC #5435DC #A735DC
triadic
#5435DC #DC5435 #35DC54
tetradic
#5435DC #DC3569 #BDDC35 #35DCA7
square
#5435DC #DC3569 #BDDC35 #35DCA7
split-complementary
#5435DC #DCA735 #69DC35
monochromatic
#2A1680 #3B1FB5 #5435DC #8069E5 #AC9DEE

Accessibility & contrast

On white

7.19
#5435DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5435DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5435DC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5435DC#FFFFFF#000000##FFFFFF
##5435DC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE1
Deuteranopia (green-blind)
#0051D9
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5435dc;
/* rgb */ color: rgb(84, 53, 220);
/* oklch */ color: oklch(48.3% 0.235 281.5);
Tailwind
colors: {
  custom: {
    50: '#9471e8',
    500: '#5435dc',
    950: '#000000',
  },
}
SCSS
$custom: #5435dc;
$custom-light: #9471e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5435dc",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 251.138,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.23522,
    "h": 281.5
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#5435DC
secondary
#CDDA93
accent
#ED3BCC
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5435DC

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

Preview Lab → · Contrast checker → · Palette generator →

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