#5433B2#5433B2

#5433B2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.188 H 288.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5433B2
RGBrgb(84, 51, 178)
HSLhsl(256, 55%, 45%)
HSVhsv(256, 71%, 70%)
CMYKcmyk(52.8%, 71.3%, 0%, 30.2%)
CIE-LABlab(32.85, 46.24, -62.37)
CIE-LCHlch(32.85, 77.64, 306.55°)
OKLaboklab(44.14% 0.0582 -0.1792)
OKLCHoklch(44.14% 0.188 288)
XYZxyz(12.8735, 7.4662, 42.8736)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5433B2 #91B233
analogous
#3351B2 #5433B2 #9433B2
triadic
#5433B2 #B25433 #33B254
tetradic
#5433B2 #B23351 #91B233 #33B294
square
#5433B2 #B23351 #91B233 #33B294
split-complementary
#5433B2 #B29433 #51B233
monochromatic
#271853 #3E2582 #5433B2 #7454CE #9B84DC

Accessibility & contrast

On white

8.42
#5433B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5433B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5433B2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5433B2#FFFFFF#000000##FFFFFF
##5433B21.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#30546F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5433b2;
/* rgb */ color: rgb(84, 51, 178);
/* oklch */ color: oklch(44.1% 0.188 288.0);
Tailwind
colors: {
  custom: {
    50: '#8d6eca',
    500: '#5433b2',
    950: '#000000',
  },
}
SCSS
$custom: #5433b2;
$custom-light: #8d6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5433b2",
  "rgb": {
    "r": 84,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 255.591,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.18846,
    "h": 288
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#5433B2
secondary
#B2C57C
accent
#DF49B8
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5433B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5433B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva