#5133C0#5133C0

#5133C0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.205 H 284.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5133C0
RGBrgb(81, 51, 192)
HSLhsl(253, 58%, 48%)
HSVhsv(253, 73%, 75%)
CMYKcmyk(57.8%, 73.4%, 0%, 24.7%)
CIE-LABlab(33.82, 49.87, -69.07)
CIE-LCHlch(33.82, 85.19, 305.83°)
OKLaboklab(45.15% 0.0509 -0.1989)
OKLCHoklch(45.15% 0.205 284.3)
XYZxyz(14.0887, 7.9219, 50.6456)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5133C0 #A2C033
analogous
#335BC0 #5133C0 #9833C0
triadic
#5133C0 #C05133 #33C051
tetradic
#5133C0 #C0335B #A2C033 #33C098
square
#5133C0 #C0335B #A2C033 #33C098
split-complementary
#5133C0 #C09833 #5BC033
monochromatic
#28195F #3D2690 #5133C0 #765CD4 #9F8DE1

Accessibility & contrast

On white

8.13
#5133C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5133C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5133C0
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5133C0#FFFFFF#000000##FFFFFF
##5133C01.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#135A77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5133c0;
/* rgb */ color: rgb(81, 51, 192);
/* oklch */ color: oklch(45.1% 0.205 284.3);
Tailwind
colors: {
  custom: {
    50: '#8e6ed4',
    500: '#5133c0',
    950: '#000000',
  },
}
SCSS
$custom: #5133c0;
$custom-light: #8e6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#5133c0",
  "rgb": {
    "r": 81,
    "g": 51,
    "b": 192
  },
  "hsl": {
    "h": 252.766,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.20532,
    "h": 284.3
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5133C0

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

Preview Lab → · Contrast checker → · Palette generator →

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