#5426B1#5426B1

#5426B1 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.201 H 290.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5426B1
RGBrgb(84, 38, 177)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52.5%, 78.5%, 0%, 30.6%)
CIE-LABlab(30.51, 52.32, -65.61)
CIE-LCHlch(30.51, 83.92, 308.57°)
OKLaboklab(42.47% 0.0689 -0.1886)
OKLCHoklch(42.47% 0.201 290.1)
XYZxyz(12.2828, 6.4448, 42.1832)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426B1 #83B126
analogous
#263EB1 #5426B1 #9A26B1
triadic
#5426B1 #B15426 #26B154
tetradic
#5426B1 #B1263E #83B126 #26B19A
square
#5426B1 #B1263E #83B126 #26B19A
split-complementary
#5426B1 #B19A26 #3EB126
monochromatic
#24104C #3C1B7F #5426B1 #713FD6 #9671E0

Accessibility & contrast

On white

9.17
#5426B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5426B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426B1
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426B1#FFFFFF#000000##FFFFFF
##5426B11.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#314E6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5426b1;
/* rgb */ color: rgb(84, 38, 177);
/* oklch */ color: oklch(42.5% 0.201 290.1);
Tailwind
colors: {
  custom: {
    50: '#8e66c9',
    500: '#5426b1',
    950: '#000000',
  },
}
SCSS
$custom: #5426b1;
$custom-light: #8e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5426b1",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 259.856,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.2008,
    "h": 290.1
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#5426B1
secondary
#A9C76B
accent
#E840B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5426B1

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

Preview Lab → · Contrast checker → · Palette generator →

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