#5326CA#5326CA

#5326CA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.228 H 285.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5326CA
RGBrgb(83, 38, 202)
HSLhsl(256, 68%, 47%)
HSVhsv(256, 81%, 79%)
CMYKcmyk(58.9%, 81.2%, 0%, 20.8%)
CIE-LABlab(32.89, 58.96, -76.44)
CIE-LCHlch(32.89, 96.53, 307.64°)
OKLaboklab(44.84% 0.0593 -0.2203)
OKLCHoklch(44.84% 0.228 285.1)
XYZxyz(14.9178, 7.4886, 56.5250)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326CA #9DCA26
analogous
#264BCA #5326CA #A526CA
triadic
#5326CA #CA5326 #26CA53
tetradic
#5326CA #CA264B #9DCA26 #26CAA5
square
#5326CA #CA264B #9DCA26 #26CAA5
split-complementary
#5326CA #CAA526 #4BCA26
monochromatic
#291363 #3E1C96 #5326CA #764FDE #9E83E8

Accessibility & contrast

On white

8.41
#5326CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5326CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326CA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326CA#FFFFFF#000000##FFFFFF
##5326CA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#05587A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5326ca;
/* rgb */ color: rgb(83, 38, 202);
/* oklch */ color: oklch(44.8% 0.228 285.1);
Tailwind
colors: {
  custom: {
    50: '#9268dc',
    500: '#5326ca',
    950: '#000000',
  },
}
SCSS
$custom: #5326ca;
$custom-light: #9268dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5326ca",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 256.463,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.22813,
    "h": 285.1
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#5326CA
secondary
#B9D17B
accent
#EB3DBB
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5326CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5326CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva