#5524FF#5524FF

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

Color values

HEX#5524FF
RGBrgb(85, 36, 255)
HSLhsl(253, 100%, 57%)
HSVhsv(253, 86%, 100%)
CMYKcmyk(66.7%, 85.9%, 0%, 0%)
CIE-LABlab(38.57, 73.73, -97.30)
CIE-LCHlch(38.57, 122.08, 307.15°)
OKLaboklab(50.44% 0.045 -0.2809)
OKLCHoklch(50.44% 0.284 279.1)
XYZxyz(22.4214, 10.4111, 95.4163)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5524FF #CEFF24
analogous
#2460FF #5524FF #C324FF
triadic
#5524FF #FF5524 #24FF55
tetradic
#5524FF #FF2460 #CEFF24 #24FFC3
square
#5524FF #FF2460 #CEFF24 #24FFC3
split-complementary
#5524FF #FFC324 #60FF24
monochromatic
#2600A9 #3300E6 #5524FF #8561FF #B49EFF

Accessibility & contrast

On white

6.81
#5524FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5524FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5524FF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5524FF#FFFFFF#000000##FFFFFF
##5524FF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.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: #5524ff;
/* rgb */ color: rgb(85, 36, 255);
/* oklch */ color: oklch(50.4% 0.284 279.1);
Tailwind
colors: {
  custom: {
    50: '#9c6bff',
    500: '#5524ff',
    950: '#000000',
  },
}
SCSS
$custom: #5524ff;
$custom-light: #9c6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5524ff",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 253.425,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.28445,
    "h": 279.1
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5524FF

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

Preview Lab → · Contrast checker → · Palette generator →

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