#5327AF#5327AF

#5327AF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.198 H 289.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#5327AF
RGBrgb(83, 39, 175)
HSLhsl(259, 64%, 42%)
HSVhsv(259, 78%, 69%)
CMYKcmyk(52.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(30.36, 51.19, -64.66)
CIE-LCHlch(30.36, 82.47, 308.37°)
OKLaboklab(42.28% 0.0672 -0.1859)
OKLCHoklch(42.28% 0.198 289.9)
XYZxyz(12.0284, 6.3846, 41.1477)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5327AF #83AF27
analogous
#273FAF #5327AF #9727AF
triadic
#5327AF #AF5327 #27AF53
tetradic
#5327AF #AF273F #83AF27 #27AF97
square
#5327AF #AF273F #83AF27 #27AF97
split-complementary
#5327AF #AF9727 #3FAF27
monochromatic
#24114B #3B1C7D #5327AF #6F3FD4 #9571DF

Accessibility & contrast

On white

9.22
#5327AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5327AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5327AF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5327AF#FFFFFF#000000##FFFFFF
##5327AF1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#314E6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5327af;
/* rgb */ color: rgb(83, 39, 175);
/* oklch */ color: oklch(42.3% 0.198 289.9);
Tailwind
colors: {
  custom: {
    50: '#8d67c8',
    500: '#5327af',
    950: '#000000',
  },
}
SCSS
$custom: #5327af;
$custom-light: #8d67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5327af",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 259.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.19766,
    "h": 289.9
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#5327AF
secondary
#A9C66B
accent
#E741B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5327AF

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

Preview Lab → · Contrast checker → · Palette generator →

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