#5333B7#5333B7

#5333B7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.194 H 286.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5333B7
RGBrgb(83, 51, 183)
HSLhsl(255, 56%, 46%)
HSVhsv(255, 72%, 72%)
CMYKcmyk(54.6%, 72.1%, 0%, 28.2%)
CIE-LABlab(33.19, 47.53, -64.78)
CIE-LCHlch(33.19, 80.35, 306.27°)
OKLaboklab(44.5% 0.0558 -0.1863)
OKLCHoklch(44.5% 0.194 286.7)
XYZxyz(13.2958, 7.6248, 45.5617)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333B7 #97B733
analogous
#3355B7 #5333B7 #9533B7
triadic
#5333B7 #B75333 #33B753
tetradic
#5333B7 #B73355 #97B733 #33B795
square
#5333B7 #B73355 #97B733 #33B795
split-complementary
#5333B7 #B79533 #55B733
monochromatic
#281857 #3D2687 #5333B7 #7457D0 #9C87DE

Accessibility & contrast

On white

8.32
#5333B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5333B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333B7
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333B7#FFFFFF#000000##FFFFFF
##5333B71.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#285672
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5333b7;
/* rgb */ color: rgb(83, 51, 183);
/* oklch */ color: oklch(44.5% 0.194 286.7);
Tailwind
colors: {
  custom: {
    50: '#8e6ece',
    500: '#5333b7',
    950: '#000000',
  },
}
SCSS
$custom: #5333b7;
$custom-light: #8e6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#5333b7",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 254.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.19448,
    "h": 286.7
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#5333B7
secondary
#B6C77F
accent
#E048BB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5333B7

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

Preview Lab → · Contrast checker → · Palette generator →

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