#5133AE#5133AE

#5133AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.184 H 287.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5133AE
RGBrgb(81, 51, 174)
HSLhsl(255, 55%, 44%)
HSVhsv(255, 71%, 68%)
CMYKcmyk(53.4%, 70.7%, 0%, 31.8%)
CIE-LABlab(32.20, 44.58, -61.06)
CIE-LCHlch(32.20, 75.61, 306.13°)
OKLaboklab(43.5% 0.0547 -0.1755)
OKLCHoklch(43.5% 0.184 287.3)
XYZxyz(12.2149, 7.1724, 40.7770)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133AE #90AE33
analogous
#3353AE #5133AE #8F33AE
triadic
#5133AE #AE5133 #33AE51
tetradic
#5133AE #AE3353 #90AE33 #33AE8F
square
#5133AE #AE3353 #90AE33 #33AE8F
split-complementary
#5133AE #AE8F33 #53AE33
monochromatic
#25174F #3B257F #5133AE #7052CC #9781DA

Accessibility & contrast

On white

8.63
#5133AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5133AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133AE
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133AE#FFFFFF#000000##FFFFFF
##5133AE1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#2C536D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5133ae;
/* rgb */ color: rgb(81, 51, 174);
/* oklch */ color: oklch(43.5% 0.184 287.3);
Tailwind
colors: {
  custom: {
    50: '#8b6dc7',
    500: '#5133ae',
    950: '#000000',
  },
}
SCSS
$custom: #5133ae;
$custom-light: #8b6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5133ae",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 254.634,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43499,
    "c": 0.1838,
    "h": 287.3
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#5133AE
secondary
#B1C379
accent
#DE4ABA
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5133AE

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

Preview Lab → · Contrast checker → · Palette generator →

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