#5423AF#5423AF

#5423AF is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.201 H 290.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#5423AF
RGBrgb(84, 35, 175)
HSLhsl(261, 67%, 41%)
HSVhsv(261, 80%, 69%)
CMYKcmyk(52%, 80%, 0%, 31.4%)
CIE-LABlab(29.87, 53.09, -65.47)
CIE-LCHlch(29.87, 84.29, 309.03°)
OKLaboklab(41.96% 0.0716 -0.1882)
OKLCHoklch(41.96% 0.201 290.8)
XYZxyz(11.9928, 6.1815, 41.1104)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423AF #7EAF23
analogous
#2338AF #5423AF #9A23AF
triadic
#5423AF #AF5423 #23AF54
tetradic
#5423AF #AF2338 #7EAF23 #23AF9A
square
#5423AF #AF2338 #7EAF23 #23AF9A
split-complementary
#5423AF #AF9A23 #38AF23
monochromatic
#230F49 #3C197C #5423AF #7038D7 #946BE1

Accessibility & contrast

On white

9.39
#5423AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5423AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5423AF
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423AF#FFFFFF#000000##FFFFFF
##5423AF1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#334C69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5423af;
/* rgb */ color: rgb(84, 35, 175);
/* oklch */ color: oklch(42.0% 0.201 290.8);
Tailwind
colors: {
  custom: {
    50: '#8e65c8',
    500: '#5423af',
    950: '#000000',
  },
}
SCSS
$custom: #5423af;
$custom-light: #8e65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5423af",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 261,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41962,
    "c": 0.20135,
    "h": 290.8
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#5423AF
secondary
#A5C766
accent
#EA3EAE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5423AF

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

Preview Lab → · Contrast checker → · Palette generator →

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