#5426B0#5426B0

#5426B0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.200 H 290.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5426B0
RGBrgb(84, 38, 176)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 69%)
CMYKcmyk(52.3%, 78.4%, 0%, 31%)
CIE-LABlab(30.41, 52.05, -65.17)
CIE-LCHlch(30.41, 83.41, 308.61°)
OKLaboklab(42.37% 0.0692 -0.1873)
OKLCHoklch(42.37% 0.2 290.3)
XYZxyz(12.1835, 6.4051, 41.6602)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426B0 #82B026
analogous
#263DB0 #5426B0 #9926B0
triadic
#5426B0 #B05426 #26B054
tetradic
#5426B0 #B0263D #82B026 #26B099
square
#5426B0 #B0263D #82B026 #26B099
split-complementary
#5426B0 #B09926 #3DB026
monochromatic
#24104B #3C1B7E #5426B0 #703ED5 #9670E0

Accessibility & contrast

On white

9.21
#5426B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5426B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426B0
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426B0#FFFFFF#000000##FFFFFF
##5426B01.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#324D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5426b0;
/* rgb */ color: rgb(84, 38, 176);
/* oklch */ color: oklch(42.4% 0.200 290.3);
Tailwind
colors: {
  custom: {
    50: '#8e66c9',
    500: '#5426b0',
    950: '#000000',
  },
}
SCSS
$custom: #5426b0;
$custom-light: #8e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5426b0",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 260,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.19971,
    "h": 290.3
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#5426B0
secondary
#A8C76B
accent
#E740B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5426B0

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

Preview Lab → · Contrast checker → · Palette generator →

#5426B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva