#5424FF#5424FF

#5424FF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 50.4% C 0.285 H 278.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5424FF
RGBrgb(84, 36, 255)
HSLhsl(253, 100%, 57%)
HSVhsv(253, 86%, 100%)
CMYKcmyk(67.1%, 85.9%, 0%, 0%)
CIE-LABlab(38.49, 73.66, -97.44)
CIE-LCHlch(38.49, 122.15, 307.09°)
OKLaboklab(50.36% 0.0435 -0.2813)
OKLCHoklch(50.36% 0.285 278.8)
XYZxyz(22.3312, 10.3646, 95.4121)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5424FF #CFFF24
analogous
#2461FF #5424FF #C224FF
triadic
#5424FF #FF5424 #24FF54
tetradic
#5424FF #FF2461 #CFFF24 #24FFC2
square
#5424FF #FF2461 #CFFF24 #24FFC2
split-complementary
#5424FF #FFC224 #61FF24
monochromatic
#2500A9 #3200E6 #5424FF #8461FF #B49EFF

Accessibility & contrast

On white

6.83
#5424FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5424FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5424FF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5424FF#FFFFFF#000000##FFFFFF
##5424FF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062FF
Deuteranopia (green-blind)
#0052FB
Tritanopia (blue-blind)
#006E99
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5424ff;
/* rgb */ color: rgb(84, 36, 255);
/* oklch */ color: oklch(50.4% 0.285 278.8);
Tailwind
colors: {
  custom: {
    50: '#9c6bff',
    500: '#5424ff',
    950: '#000000',
  },
}
SCSS
$custom: #5424ff;
$custom-light: #9c6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5424ff",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 253.151,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.28463,
    "h": 278.8
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#5424FF
secondary
#D8EC93
accent
#FF29D0
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100718
muted
#7F7A86

Preview Lab

Preview with #5424FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5424FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva