#5326B1#5326B1

#5326B1 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.201 H 289.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5326B1
RGBrgb(83, 38, 177)
HSLhsl(259, 65%, 42%)
HSVhsv(259, 79%, 69%)
CMYKcmyk(53.1%, 78.5%, 0%, 30.6%)
CIE-LABlab(30.40, 52.19, -65.80)
CIE-LCHlch(30.40, 83.98, 308.42°)
OKLaboklab(42.36% 0.0673 -0.1892)
OKLCHoklch(42.36% 0.201 289.6)
XYZxyz(12.1939, 6.3990, 42.1791)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326B1 #84B126
analogous
#263FB1 #5326B1 #9826B1
triadic
#5326B1 #B15326 #26B153
tetradic
#5326B1 #B1263F #84B126 #26B198
square
#5326B1 #B1263F #84B126 #26B198
split-complementary
#5326B1 #B19826 #3FB126
monochromatic
#24104C #3B1B7F #5326B1 #6F3FD6 #9571E0

Accessibility & contrast

On white

9.21
#5326B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5326B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326B1
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326B1#FFFFFF#000000##FFFFFF
##5326B11.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#2F4E6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5326b1;
/* rgb */ color: rgb(83, 38, 177);
/* oklch */ color: oklch(42.4% 0.201 289.6);
Tailwind
colors: {
  custom: {
    50: '#8e66c9',
    500: '#5326b1',
    950: '#000000',
  },
}
SCSS
$custom: #5326b1;
$custom-light: #8e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5326b1",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 259.424,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.20083,
    "h": 289.6
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#5326B1
secondary
#AAC76B
accent
#E840B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5326B1

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

Preview Lab → · Contrast checker → · Palette generator →

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