#5033BB#5033BB

#5033BB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.200 H 284.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5033BB
RGBrgb(80, 51, 187)
HSLhsl(253, 57%, 47%)
HSVhsv(253, 73%, 73%)
CMYKcmyk(57.2%, 72.7%, 0%, 26.7%)
CIE-LABlab(33.26, 48.26, -67.04)
CIE-LCHlch(33.26, 82.60, 305.75°)
OKLaboklab(44.59% 0.0506 -0.193)
OKLCHoklch(44.59% 0.2 284.7)
XYZxyz(13.4590, 7.6602, 47.7734)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5033BB #9EBB33
analogous
#335ABB #5033BB #9433BB
triadic
#5033BB #BB5033 #33BB50
tetradic
#5033BB #BB335A #9EBB33 #33BB94
square
#5033BB #BB335A #9EBB33 #33BB94
split-complementary
#5033BB #BB9433 #5ABB33
monochromatic
#27195B #3B268B #5033BB #7359D2 #9C89DF

Accessibility & contrast

On white

8.29
#5033BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5033BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5033BB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5033BB#FFFFFF#000000##FFFFFF
##5033BB1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#185874
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5033bb;
/* rgb */ color: rgb(80, 51, 187);
/* oklch */ color: oklch(44.6% 0.200 284.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ed1',
    500: '#5033bb',
    950: '#000000',
  },
}
SCSS
$custom: #5033bb;
$custom-light: #8d6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5033bb",
  "rgb": {
    "r": 80,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 252.794,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44592,
    "c": 0.19952,
    "h": 284.7
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#5033BB
secondary
#BAC981
accent
#E047C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5033BB

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

Preview Lab → · Contrast checker → · Palette generator →

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