#5133C9#5133C9

#5133C9 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.216 H 283.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5133C9
RGBrgb(81, 51, 201)
HSLhsl(252, 60%, 49%)
HSVhsv(252, 75%, 79%)
CMYKcmyk(59.7%, 74.6%, 0%, 21.2%)
CIE-LABlab(34.67, 52.51, -72.94)
CIE-LCHlch(34.67, 89.87, 305.75°)
OKLaboklab(46% 0.0487 -0.2102)
OKLCHoklch(46% 0.216 283)
XYZxyz(15.1165, 8.3330, 56.0589)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133C9 #ABC933
analogous
#3360C9 #5133C9 #9C33C9
triadic
#5133C9 #C95133 #33C951
tetradic
#5133C9 #C93360 #ABC933 #33C99C
square
#5133C9 #C93360 #ABC933 #33C99C
split-complementary
#5133C9 #C99C33 #60C933
monochromatic
#2A1A67 #3D2798 #5133C9 #7962D7 #A393E4

Accessibility & contrast

On white

7.87
#5133C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5133C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133C9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133C9#FFFFFF#000000##FFFFFF
##5133C91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5133c9;
/* rgb */ color: rgb(81, 51, 201);
/* oklch */ color: oklch(46.0% 0.216 283.0);
Tailwind
colors: {
  custom: {
    50: '#906edb',
    500: '#5133c9',
    950: '#000000',
  },
}
SCSS
$custom: #5133c9;
$custom-light: #906edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5133c9",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 252,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.21582,
    "h": 283
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#5133C9
secondary
#C1CF89
accent
#E345C3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5133C9

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

Preview Lab → · Contrast checker → · Palette generator →

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