#5133BF#5133BF

#5133BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.204 H 284.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5133BF
RGBrgb(81, 51, 191)
HSLhsl(253, 58%, 47%)
HSVhsv(253, 73%, 75%)
CMYKcmyk(57.6%, 73.3%, 0%, 25.1%)
CIE-LABlab(33.73, 49.58, -68.63)
CIE-LCHlch(33.73, 84.67, 305.85°)
OKLaboklab(45.05% 0.0511 -0.1976)
OKLCHoklch(45.05% 0.204 284.5)
XYZxyz(13.9783, 7.8777, 50.0641)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133BF #A1BF33
analogous
#335BBF #5133BF #9733BF
triadic
#5133BF #BF5133 #33BF51
tetradic
#5133BF #BF335B #A1BF33 #33BF97
square
#5133BF #BF335B #A1BF33 #33BF97
split-complementary
#5133BF #BF9733 #5BBF33
monochromatic
#28195E #3D268F #5133BF #755CD3 #9E8CE0

Accessibility & contrast

On white

8.15
#5133BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5133BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133BF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133BF#FFFFFF#000000##FFFFFF
##5133BF1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#155A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5133bf;
/* rgb */ color: rgb(81, 51, 191);
/* oklch */ color: oklch(45.1% 0.204 284.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ed3',
    500: '#5133bf',
    950: '#000000',
  },
}
SCSS
$custom: #5133bf;
$custom-light: #8e6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5133bf",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 252.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.20415,
    "h": 284.5
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#5133BF
secondary
#BBCB83
accent
#E147C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5133BF

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

Preview Lab → · Contrast checker → · Palette generator →

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