#5423B0#5423B0

#5423B0 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.1% C 0.202 H 290.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#5423B0
RGBrgb(84, 35, 176)
HSLhsl(261, 67%, 41%)
HSVhsv(261, 80%, 69%)
CMYKcmyk(52.3%, 80.1%, 0%, 31%)
CIE-LABlab(29.96, 53.35, -65.91)
CIE-LCHlch(29.96, 84.80, 308.99°)
OKLaboklab(42.06% 0.0713 -0.1895)
OKLCHoklch(42.06% 0.202 290.6)
XYZxyz(12.0914, 6.2210, 41.6295)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423B0 #7FB023
analogous
#2339B0 #5423B0 #9B23B0
triadic
#5423B0 #B05423 #23B054
tetradic
#5423B0 #B02339 #7FB023 #23B09B
square
#5423B0 #B02339 #7FB023 #23B09B
split-complementary
#5423B0 #B09B23 #39B023
monochromatic
#230F4A #3C197D #5423B0 #7039D8 #956CE2

Accessibility & contrast

On white

9.36
#5423B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5423B0
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423B0#FFFFFF#000000##FFFFFF
##5423B01.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#324C6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5423b0;
/* rgb */ color: rgb(84, 35, 176);
/* oklch */ color: oklch(42.1% 0.202 290.6);
Tailwind
colors: {
  custom: {
    50: '#8e65c9',
    500: '#5423b0',
    950: '#000000',
  },
}
SCSS
$custom: #5423b0;
$custom-light: #8e65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5423b0",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 260.851,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.20244,
    "h": 290.6
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5423B0

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

Preview Lab → · Contrast checker → · Palette generator →

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