#5331BB#5331BB

#5331BB is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.201 H 286.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5331BB
RGBrgb(83, 49, 187)
HSLhsl(255, 58%, 46%)
HSVhsv(255, 74%, 73%)
CMYKcmyk(55.6%, 73.8%, 0%, 26.7%)
CIE-LABlab(33.18, 49.73, -67.16)
CIE-LCHlch(33.18, 83.56, 306.52°)
OKLaboklab(44.6% 0.0565 -0.1933)
OKLCHoklch(44.6% 0.201 286.3)
XYZxyz(13.6325, 7.6227, 47.7571)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331BB #99BB31
analogous
#3154BB #5331BB #9831BB
triadic
#5331BB #BB5331 #31BB53
tetradic
#5331BB #BB3154 #99BB31 #31BB98
square
#5331BB #BB3154 #99BB31 #31BB98
split-complementary
#5331BB #BB9831 #54BB31
monochromatic
#28185A #3D248B #5331BB #7556D3 #9D87E0

Accessibility & contrast

On white

8.32
#5331BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5331BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331BB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331BB#FFFFFF#000000##FFFFFF
##5331BB1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#245773
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5331bb;
/* rgb */ color: rgb(83, 49, 187);
/* oklch */ color: oklch(44.6% 0.201 286.3);
Tailwind
colors: {
  custom: {
    50: '#8e6dd1',
    500: '#5331bb',
    950: '#000000',
  },
}
SCSS
$custom: #5331bb;
$custom-light: #8e6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5331bb",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 254.783,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44604,
    "c": 0.20134,
    "h": 286.3
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#5331BB
secondary
#B7C97F
accent
#E246BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5331BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5331BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva