#5426C7#5426C7

#5426C7 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.225 H 286.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5426C7
RGBrgb(84, 38, 199)
HSLhsl(257, 68%, 46%)
HSVhsv(257, 81%, 78%)
CMYKcmyk(57.8%, 80.9%, 0%, 22%)
CIE-LABlab(32.69, 58.26, -75.03)
CIE-LCHlch(32.69, 94.99, 307.83°)
OKLaboklab(44.63% 0.0619 -0.2161)
OKLCHoklch(44.63% 0.225 286)
XYZxyz(14.6550, 7.3937, 54.6767)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426C7 #99C726
analogous
#2649C7 #5426C7 #A526C7
triadic
#5426C7 #C75426 #26C754
tetradic
#5426C7 #C72649 #99C726 #26C7A5
square
#5426C7 #C72649 #99C726 #26C7A5
split-complementary
#5426C7 #C7A526 #49C726
monochromatic
#291260 #3E1C94 #5426C7 #764DDD #9E81E7

Accessibility & contrast

On white

8.47
#5426C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5426C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426C7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426C7#FFFFFF#000000##FFFFFF
##5426C71.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#155778
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5426c7;
/* rgb */ color: rgb(84, 38, 199);
/* oklch */ color: oklch(44.6% 0.225 286.0);
Tailwind
colors: {
  custom: {
    50: '#9268d9',
    500: '#5426c7',
    950: '#000000',
  },
}
SCSS
$custom: #5426c7;
$custom-light: #9268d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5426c7",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 257.143,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44631,
    "c": 0.2248,
    "h": 286
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#5426C7
secondary
#B7CF79
accent
#EB3DB9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5426C7

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

Preview Lab → · Contrast checker → · Palette generator →

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