#5324B1#5324B1

#5324B1 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.203 H 289.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5324B1
RGBrgb(83, 36, 177)
HSLhsl(260, 66%, 42%)
HSVhsv(260, 80%, 69%)
CMYKcmyk(53.1%, 79.7%, 0%, 30.6%)
CIE-LABlab(30.09, 53.06, -66.30)
CIE-LCHlch(30.09, 84.92, 308.67°)
OKLaboklab(42.15% 0.0687 -0.1906)
OKLCHoklch(42.15% 0.203 289.8)
XYZxyz(12.1317, 6.2745, 42.1583)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5324B1 #82B124
analogous
#243CB1 #5324B1 #9A24B1
triadic
#5324B1 #B15324 #24B153
tetradic
#5324B1 #B1243C #82B124 #24B19A
square
#5324B1 #B1243C #82B124 #24B19A
split-complementary
#5324B1 #B19A24 #3CB124
monochromatic
#230F4B #3B1A7E #5324B1 #6F3BD7 #946EE1

Accessibility & contrast

On white

9.31
#5324B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5324B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5324B1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5324B1#FFFFFF#000000##FFFFFF
##5324B11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#2F4D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5324b1;
/* rgb */ color: rgb(83, 36, 177);
/* oklch */ color: oklch(42.2% 0.203 289.8);
Tailwind
colors: {
  custom: {
    50: '#8e65ca',
    500: '#5324b1',
    950: '#000000',
  },
}
SCSS
$custom: #5324b1;
$custom-light: #8e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5324b1",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 260,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42154,
    "c": 0.20265,
    "h": 289.8
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#5324B1
secondary
#A8C869
accent
#E93FB0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5324B1

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

Preview Lab → · Contrast checker → · Palette generator →

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