#5133AF#5133AF

#5133AF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.185 H 287.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5133AF
RGBrgb(81, 51, 175)
HSLhsl(255, 55%, 44%)
HSVhsv(255, 71%, 69%)
CMYKcmyk(53.7%, 70.9%, 0%, 31.4%)
CIE-LABlab(32.28, 44.87, -61.52)
CIE-LCHlch(32.28, 76.15, 306.11°)
OKLaboklab(43.59% 0.0545 -0.1768)
OKLCHoklch(43.59% 0.185 287.1)
XYZxyz(12.3127, 7.2115, 41.2923)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133AF #91AF33
analogous
#3353AF #5133AF #8F33AF
triadic
#5133AF #AF5133 #33AF51
tetradic
#5133AF #AF3353 #91AF33 #33AF8F
square
#5133AF #AF3353 #91AF33 #33AF8F
split-complementary
#5133AF #AF8F33 #53AF33
monochromatic
#251750 #3B2580 #5133AF #7052CD #9782DB

Accessibility & contrast

On white

8.60
#5133AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5133AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133AF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133AF#FFFFFF#000000##FFFFFF
##5133AF1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#2B546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5133af;
/* rgb */ color: rgb(81, 51, 175);
/* oklch */ color: oklch(43.6% 0.185 287.1);
Tailwind
colors: {
  custom: {
    50: '#8b6dc8',
    500: '#5133af',
    950: '#000000',
  },
}
SCSS
$custom: #5133af;
$custom-light: #8b6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5133af",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 254.516,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.18502,
    "h": 287.1
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5133AF

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

Preview Lab → · Contrast checker → · Palette generator →

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