#5033BF#5033BF

#5033BF is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.204 H 284.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5033BF
RGBrgb(80, 51, 191)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 73%, 75%)
CMYKcmyk(58.1%, 73.3%, 0%, 25.1%)
CIE-LABlab(33.63, 49.44, -68.79)
CIE-LCHlch(33.63, 84.71, 305.71°)
OKLaboklab(44.97% 0.0497 -0.1981)
OKLCHoklch(44.97% 0.204 284.1)
XYZxyz(13.8932, 7.8338, 50.0601)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5033BF #A2BF33
analogous
#335CBF #5033BF #9633BF
triadic
#5033BF #BF5033 #33BF50
tetradic
#5033BF #BF335C #A2BF33 #33BF96
square
#5033BF #BF335C #A2BF33 #33BF96
split-complementary
#5033BF #BF9633 #5CBF33
monochromatic
#28195E #3C268F #5033BF #755CD3 #9E8CE0

Accessibility & contrast

On white

8.18
#5033BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5033BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5033BF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5033BF#FFFFFF#000000##FFFFFF
##5033BF1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#105A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5033bf;
/* rgb */ color: rgb(80, 51, 191);
/* oklch */ color: oklch(45.0% 0.204 284.1);
Tailwind
colors: {
  custom: {
    50: '#8d6ed3',
    500: '#5033bf',
    950: '#000000',
  },
}
SCSS
$custom: #5033bf;
$custom-light: #8d6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5033bf",
  "rgb": {
    "r": 80,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 252.429,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.20427,
    "h": 284.1
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#5033BF
secondary
#BCCB83
accent
#E147C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5033BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5033BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva