#5426AF#5426AF

#5426AF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.199 H 290.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#5426AF
RGBrgb(84, 38, 175)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 69%)
CMYKcmyk(52%, 78.3%, 0%, 31.4%)
CIE-LABlab(30.32, 51.78, -64.73)
CIE-LCHlch(30.32, 82.89, 308.66°)
OKLaboklab(42.28% 0.0695 -0.186)
OKLCHoklch(42.28% 0.199 290.5)
XYZxyz(12.0849, 6.3657, 41.1411)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426AF #81AF26
analogous
#263DAF #5426AF #9926AF
triadic
#5426AF #AF5426 #26AF54
tetradic
#5426AF #AF263D #81AF26 #26AF99
square
#5426AF #AF263D #81AF26 #26AF99
split-complementary
#5426AF #AF9926 #3DAF26
monochromatic
#24104A #3C1B7D #5426AF #703DD5 #9570E0

Accessibility & contrast

On white

9.24
#5426AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5426AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426AF
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426AF#FFFFFF#000000##FFFFFF
##5426AF1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#334D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5426af;
/* rgb */ color: rgb(84, 38, 175);
/* oklch */ color: oklch(42.3% 0.199 290.5);
Tailwind
colors: {
  custom: {
    50: '#8e66c8',
    500: '#5426af',
    950: '#000000',
  },
}
SCSS
$custom: #5426af;
$custom-light: #8e66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5426af",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 260.146,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.1986,
    "h": 290.5
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#5426AF
secondary
#A8C76A
accent
#E740AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5426AF

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

Preview Lab → · Contrast checker → · Palette generator →

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