#5133D7#5133D7

#5133D7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.232 H 281.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5133D7
RGBrgb(81, 51, 215)
HSLhsl(251, 67%, 52%)
HSVhsv(251, 76%, 84%)
CMYKcmyk(62.3%, 76.3%, 0%, 15.7%)
CIE-LABlab(36.03, 56.57, -78.81)
CIE-LCHlch(36.03, 97.01, 305.67°)
OKLaboklab(47.36% 0.0452 -0.2274)
OKLCHoklch(47.36% 0.232 281.2)
XYZxyz(16.8390, 9.0220, 65.1309)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133D7 #B9D733
analogous
#3367D7 #5133D7 #A333D7
triadic
#5133D7 #D75133 #33D751
tetradic
#5133D7 #D73367 #B9D733 #33D7A3
square
#5133D7 #D73367 #B9D733 #33D7A3
split-complementary
#5133D7 #D7A333 #67D733
monochromatic
#291878 #3B22AB #5133D7 #7D66E1 #A899EB

Accessibility & contrast

On white

7.49
#5133D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5133D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133D7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133D7#FFFFFF#000000##FFFFFF
##5133D71.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006384
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5133d7;
/* rgb */ color: rgb(81, 51, 215);
/* oklch */ color: oklch(47.4% 0.232 281.2);
Tailwind
colors: {
  custom: {
    50: '#926fe5',
    500: '#5133d7',
    950: '#000000',
  },
}
SCSS
$custom: #5133d7;
$custom-light: #926fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#5133d7",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 215
  },
  "hsl": {
    "h": 250.976,
    "s": 67.213,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47364,
    "c": 0.23185,
    "h": 281.2
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#5133D7
secondary
#CAD78F
accent
#EA3ECB
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #5133D7

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

Preview Lab → · Contrast checker → · Palette generator →

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