#5324AF#5324AF

#5324AF is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.200 H 290.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#5324AF
RGBrgb(83, 36, 175)
HSLhsl(260, 66%, 41%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52.6%, 79.4%, 0%, 31.4%)
CIE-LABlab(29.90, 52.52, -65.42)
CIE-LCHlch(29.90, 83.90, 308.76°)
OKLaboklab(41.96% 0.0694 -0.1881)
OKLCHoklch(41.96% 0.2 290.2)
XYZxyz(11.9338, 6.1954, 41.1162)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5324AF #80AF24
analogous
#243AAF #5324AF #9924AF
triadic
#5324AF #AF5324 #24AF53
tetradic
#5324AF #AF243A #80AF24 #24AF99
square
#5324AF #AF243A #80AF24 #24AF99
split-complementary
#5324AF #AF9924 #3AAF24
monochromatic
#230F49 #3B1A7C #5324AF #6F3AD6 #946DE1

Accessibility & contrast

On white

9.38
#5324AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5324AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5324AF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5324AF#FFFFFF#000000##FFFFFF
##5324AF1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#314C6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5324af;
/* rgb */ color: rgb(83, 36, 175);
/* oklch */ color: oklch(42.0% 0.200 290.2);
Tailwind
colors: {
  custom: {
    50: '#8e65c8',
    500: '#5324af',
    950: '#000000',
  },
}
SCSS
$custom: #5324af;
$custom-light: #8e65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5324af",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 260.288,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.20047,
    "h": 290.2
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#5324AF
secondary
#A7C768
accent
#E93FAF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5324AF

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

Preview Lab → · Contrast checker → · Palette generator →

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