#5624FF#5624FF

#5624FF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.5% C 0.284 H 279.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5624FF
RGBrgb(86, 36, 255)
HSLhsl(254, 100%, 57%)
HSVhsv(254, 86%, 100%)
CMYKcmyk(66.3%, 85.9%, 0%, 0%)
CIE-LABlab(38.65, 73.79, -97.16)
CIE-LCHlch(38.65, 122.01, 307.21°)
OKLaboklab(50.52% 0.0464 -0.2804)
OKLCHoklch(50.52% 0.284 279.4)
XYZxyz(22.5129, 10.4583, 95.4206)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5624FF #CDFF24
analogous
#245FFF #5624FF #C424FF
triadic
#5624FF #FF5624 #24FF56
tetradic
#5624FF #FF245F #CDFF24 #24FFC4
square
#5624FF #FF245F #CDFF24 #24FFC4
split-complementary
#5624FF #FFC424 #5FFF24
monochromatic
#2600A9 #3400E6 #5624FF #8561FF #B49EFF

Accessibility & contrast

On white

6.79
#5624FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5624FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5624FF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5624FF#FFFFFF#000000##FFFFFF
##5624FF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5624ff;
/* rgb */ color: rgb(86, 36, 255);
/* oklch */ color: oklch(50.5% 0.284 279.4);
Tailwind
colors: {
  custom: {
    50: '#9c6bff',
    500: '#5624ff',
    950: '#000000',
  },
}
SCSS
$custom: #5624ff;
$custom-light: #9c6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5624ff",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 253.699,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.28425,
    "h": 279.4
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5624FF

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

Preview Lab → · Contrast checker → · Palette generator →

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