#5133BB#5133BB

#5133BB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.199 H 285.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5133BB
RGBrgb(81, 51, 187)
HSLhsl(253, 57%, 47%)
HSVhsv(253, 73%, 73%)
CMYKcmyk(56.7%, 72.7%, 0%, 26.7%)
CIE-LABlab(33.36, 48.41, -66.88)
CIE-LCHlch(33.36, 82.56, 305.90°)
OKLaboklab(44.68% 0.052 -0.1925)
OKLCHoklch(44.68% 0.199 285.1)
XYZxyz(13.5441, 7.7040, 47.7774)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133BB #9DBB33
analogous
#3359BB #5133BB #9533BB
triadic
#5133BB #BB5133 #33BB51
tetradic
#5133BB #BB3359 #9DBB33 #33BB95
square
#5133BB #BB3359 #9DBB33 #33BB95
split-complementary
#5133BB #BB9533 #59BB33
monochromatic
#27195B #3C268B #5133BB #7459D2 #9C89DF

Accessibility & contrast

On white

8.26
#5133BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5133BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133BB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133BB#FFFFFF#000000##FFFFFF
##5133BB1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5133bb;
/* rgb */ color: rgb(81, 51, 187);
/* oklch */ color: oklch(44.7% 0.199 285.1);
Tailwind
colors: {
  custom: {
    50: '#8d6ed1',
    500: '#5133bb',
    950: '#000000',
  },
}
SCSS
$custom: #5133bb;
$custom-light: #8d6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5133bb",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 253.235,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.19942,
    "h": 285.1
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#5133BB
secondary
#B9C981
accent
#E047BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5133BB

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

Preview Lab → · Contrast checker → · Palette generator →

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