#5133BC#5133BC

#5133BC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.8% C 0.201 H 285.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5133BC
RGBrgb(81, 51, 188)
HSLhsl(253, 57%, 47%)
HSVhsv(253, 73%, 74%)
CMYKcmyk(56.9%, 72.9%, 0%, 26.3%)
CIE-LABlab(33.45, 48.70, -67.32)
CIE-LCHlch(33.45, 83.09, 305.88°)
OKLaboklab(44.77% 0.0518 -0.1938)
OKLCHoklch(44.77% 0.201 285)
XYZxyz(13.6515, 7.7470, 48.3432)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133BC #9EBC33
analogous
#3359BC #5133BC #9633BC
triadic
#5133BC #BC5133 #33BC51
tetradic
#5133BC #BC3359 #9EBC33 #33BC96
square
#5133BC #BC3359 #9EBC33 #33BC96
split-complementary
#5133BC #BC9633 #59BC33
monochromatic
#28195C #3C268C #5133BC #745AD2 #9D8ADF

Accessibility & contrast

On white

8.24
#5133BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5133BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133BC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133BC#FFFFFF#000000##FFFFFF
##5133BC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#1B5874
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5133bc;
/* rgb */ color: rgb(81, 51, 188);
/* oklch */ color: oklch(44.8% 0.201 285.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ed1',
    500: '#5133bc',
    950: '#000000',
  },
}
SCSS
$custom: #5133bc;
$custom-light: #8d6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5133bc",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 253.139,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.20061,
    "h": 285
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#5133BC
secondary
#BAC981
accent
#E147BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5133BC

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

Preview Lab → · Contrast checker → · Palette generator →

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