#5324FF#5324FF

#5324FF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 50.3% C 0.285 H 278.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5324FF
RGBrgb(83, 36, 255)
HSLhsl(253, 100%, 57%)
HSVhsv(253, 86%, 100%)
CMYKcmyk(67.5%, 85.9%, 0%, 0%)
CIE-LABlab(38.41, 73.60, -97.58)
CIE-LCHlch(38.41, 122.22, 307.03°)
OKLaboklab(50.29% 0.0421 -0.2817)
OKLCHoklch(50.29% 0.285 278.5)
XYZxyz(22.2424, 10.3188, 95.4079)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5324FF #D0FF24
analogous
#2462FF #5324FF #C124FF
triadic
#5324FF #FF5324 #24FF53
tetradic
#5324FF #FF2462 #D0FF24 #24FFC1
square
#5324FF #FF2462 #D0FF24 #24FFC1
split-complementary
#5324FF #FFC124 #62FF24
monochromatic
#2400A9 #3100E6 #5324FF #8361FF #B39EFF

Accessibility & contrast

On white

6.85
#5324FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5324FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5324FF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5324FF#FFFFFF#000000##FFFFFF
##5324FF1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5324ff;
/* rgb */ color: rgb(83, 36, 255);
/* oklch */ color: oklch(50.3% 0.285 278.5);
Tailwind
colors: {
  custom: {
    50: '#9b6bff',
    500: '#5324ff',
    950: '#000000',
  },
}
SCSS
$custom: #5324ff;
$custom-light: #9b6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5324ff",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 252.877,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.28483,
    "h": 278.5
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#5324FF
secondary
#D9EC93
accent
#FF29D1
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100718
muted
#7F7A86

Preview Lab

Preview with #5324FF

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

Preview Lab → · Contrast checker → · Palette generator →

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