#5332B5#5332B5

#5332B5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.193 H 287.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5332B5
RGBrgb(83, 50, 181)
HSLhsl(255, 57%, 45%)
HSVhsv(255, 72%, 71%)
CMYKcmyk(54.1%, 72.4%, 0%, 29%)
CIE-LABlab(32.82, 47.48, -64.20)
CIE-LCHlch(32.82, 79.85, 306.48°)
OKLaboklab(44.18% 0.057 -0.1846)
OKLCHoklch(44.18% 0.193 287.2)
XYZxyz(13.0459, 7.4557, 44.4588)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332B5 #94B532
analogous
#3252B5 #5332B5 #9532B5
triadic
#5332B5 #B55332 #32B553
tetradic
#5332B5 #B53252 #94B532 #32B595
square
#5332B5 #B53252 #94B532 #32B595
split-complementary
#5332B5 #B59532 #52B532
monochromatic
#271855 #3D2585 #5332B5 #7354D0 #9B84DD

Accessibility & contrast

On white

8.43
#5332B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5332B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332B5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332B5#FFFFFF#000000##FFFFFF
##5332B51.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#2A5570
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5332b5;
/* rgb */ color: rgb(83, 50, 181);
/* oklch */ color: oklch(44.2% 0.193 287.2);
Tailwind
colors: {
  custom: {
    50: '#8d6dcc',
    500: '#5332b5',
    950: '#000000',
  },
}
SCSS
$custom: #5332b5;
$custom-light: #8d6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#5332b5",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 255.115,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.1932,
    "h": 287.2
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#5332B5
secondary
#B4C77C
accent
#E048BA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5332B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5332B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva