#5133C1#5133C1

#5133C1 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.207 H 284.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5133C1
RGBrgb(81, 51, 193)
HSLhsl(253, 58%, 48%)
HSVhsv(253, 74%, 76%)
CMYKcmyk(58%, 73.6%, 0%, 24.3%)
CIE-LABlab(33.91, 50.17, -69.50)
CIE-LCHlch(33.91, 85.72, 305.82°)
OKLaboklab(45.24% 0.0506 -0.2002)
OKLCHoklch(45.24% 0.207 284.2)
XYZxyz(14.1999, 7.9663, 51.2311)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133C1 #A3C133
analogous
#335CC1 #5133C1 #9833C1
triadic
#5133C1 #C15133 #33C151
tetradic
#5133C1 #C1335C #A3C133 #33C198
square
#5133C1 #C1335C #A3C133 #33C198
split-complementary
#5133C1 #C19833 #5CC133
monochromatic
#281960 #3D2691 #5133C1 #765DD4 #9F8DE1

Accessibility & contrast

On white

8.10
#5133C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5133C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133C1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133C1#FFFFFF#000000##FFFFFF
##5133C11.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#115A77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5133c1;
/* rgb */ color: rgb(81, 51, 193);
/* oklch */ color: oklch(45.2% 0.207 284.2);
Tailwind
colors: {
  custom: {
    50: '#8e6ed5',
    500: '#5133c1',
    950: '#000000',
  },
}
SCSS
$custom: #5133c1;
$custom-light: #8e6ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#5133c1",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 252.676,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.20651,
    "h": 284.2
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#5133C1
secondary
#BCCB84
accent
#E146C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5133C1

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

Preview Lab → · Contrast checker → · Palette generator →

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