#5033BC#5033BC

#5033BC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.201 H 284.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#5033BC
RGBrgb(80, 51, 188)
HSLhsl(253, 57%, 47%)
HSVhsv(253, 73%, 74%)
CMYKcmyk(57.4%, 72.9%, 0%, 26.3%)
CIE-LABlab(33.36, 48.56, -67.47)
CIE-LCHlch(33.36, 83.13, 305.74°)
OKLaboklab(44.69% 0.0503 -0.1943)
OKLCHoklch(44.69% 0.201 284.5)
XYZxyz(13.5664, 7.7031, 48.3392)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5033BC #9FBC33
analogous
#335ABC #5033BC #9533BC
triadic
#5033BC #BC5033 #33BC50
tetradic
#5033BC #BC335A #9FBC33 #33BC95
square
#5033BC #BC335A #9FBC33 #33BC95
split-complementary
#5033BC #BC9533 #5ABC33
monochromatic
#27195C #3C268C #5033BC #735AD2 #9C8ADF

Accessibility & contrast

On white

8.27
#5033BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5033BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5033BC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5033BC#FFFFFF#000000##FFFFFF
##5033BC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#165974
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5033bc;
/* rgb */ color: rgb(80, 51, 188);
/* oklch */ color: oklch(44.7% 0.201 284.5);
Tailwind
colors: {
  custom: {
    50: '#8d6ed1',
    500: '#5033bc',
    950: '#000000',
  },
}
SCSS
$custom: #5033bc;
$custom-light: #8d6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5033bc",
  "rgb": {
    "r": 80,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 252.701,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.20072,
    "h": 284.5
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5033BC

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

Preview Lab → · Contrast checker → · Palette generator →

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