#5333BC#5333BC

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

Color values

HEX#5333BC
RGBrgb(83, 51, 188)
HSLhsl(254, 57%, 47%)
HSVhsv(254, 73%, 74%)
CMYKcmyk(55.9%, 72.9%, 0%, 26.3%)
CIE-LABlab(33.64, 48.99, -67.00)
CIE-LCHlch(33.64, 83.00, 306.17°)
OKLaboklab(44.95% 0.0547 -0.1928)
OKLCHoklch(44.95% 0.2 285.8)
XYZxyz(13.8255, 7.8367, 48.3513)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333BC #9CBC33
analogous
#3357BC #5333BC #9833BC
triadic
#5333BC #BC5333 #33BC53
tetradic
#5333BC #BC3357 #9CBC33 #33BC98
square
#5333BC #BC3357 #9CBC33 #33BC98
split-complementary
#5333BC #BC9833 #57BC33
monochromatic
#28195C #3E268C #5333BC #765AD2 #9E8ADF

Accessibility & contrast

On white

8.18
#5333BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5333BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333BC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333BC#FFFFFF#000000##FFFFFF
##5333BC1.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)
#0053C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#225874
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5333bc;
/* rgb */ color: rgb(83, 51, 188);
/* oklch */ color: oklch(45.0% 0.200 285.8);
Tailwind
colors: {
  custom: {
    50: '#8e6ed1',
    500: '#5333bc',
    950: '#000000',
  },
}
SCSS
$custom: #5333bc;
$custom-light: #8e6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5333bc",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 254.015,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.20041,
    "h": 285.8
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#5333BC
secondary
#B9C981
accent
#E147BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5333BC

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

Preview Lab → · Contrast checker → · Palette generator →

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