#5428B2#5428B2

#5428B2 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.200 H 289.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#5428B2
RGBrgb(84, 40, 178)
HSLhsl(259, 63%, 43%)
HSVhsv(259, 78%, 70%)
CMYKcmyk(52.8%, 77.5%, 0%, 30.2%)
CIE-LABlab(30.92, 51.69, -65.54)
CIE-LCHlch(30.92, 83.47, 308.26°)
OKLaboklab(42.78% 0.0671 -0.1884)
OKLCHoklch(42.78% 0.2 289.6)
XYZxyz(12.4485, 6.6162, 42.7320)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428B2 #86B228
analogous
#2841B2 #5428B2 #9928B2
triadic
#5428B2 #B25428 #28B254
tetradic
#5428B2 #B22841 #86B228 #28B299
square
#5428B2 #B22841 #86B228 #28B299
split-complementary
#5428B2 #B29928 #41B228
monochromatic
#25124E #3C1D80 #5428B2 #7143D5 #9775E0

Accessibility & contrast

On white

9.04
#5428B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5428B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428B2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428B2#FFFFFF#000000##FFFFFF
##5428B21.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#304F6C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5428b2;
/* rgb */ color: rgb(84, 40, 178);
/* oklch */ color: oklch(42.8% 0.200 289.6);
Tailwind
colors: {
  custom: {
    50: '#8e67ca',
    500: '#5428b2',
    950: '#000000',
  },
}
SCSS
$custom: #5428b2;
$custom-light: #8e67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5428b2",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 259.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.20002,
    "h": 289.6
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#5428B2
secondary
#ABC76F
accent
#E641B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5428B2

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

Preview Lab → · Contrast checker → · Palette generator →

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