#5423CA#5423CA

#5423CA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.230 H 285.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5423CA
RGBrgb(84, 35, 202)
HSLhsl(258, 70%, 46%)
HSVhsv(258, 83%, 79%)
CMYKcmyk(58.4%, 82.7%, 0%, 20.8%)
CIE-LABlab(32.59, 60.24, -76.94)
CIE-LCHlch(32.59, 97.72, 308.06°)
OKLaboklab(44.66% 0.0624 -0.2217)
OKLCHoklch(44.66% 0.23 285.7)
XYZxyz(14.9146, 7.3502, 56.4985)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423CA #99CA23
analogous
#2346CA #5423CA #A823CA
triadic
#5423CA #CA5423 #23CA54
tetradic
#5423CA #CA2346 #99CA23 #23CAA8
square
#5423CA #CA2346 #99CA23 #23CAA8
split-complementary
#5423CA #CAA823 #46CA23
monochromatic
#291162 #3E1A96 #5423CA #764AE0 #9E7FE9

Accessibility & contrast

On white

8.50
#5423CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5423CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5423CA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423CA#FFFFFF#000000##FFFFFF
##5423CA1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#0E5779
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5423ca;
/* rgb */ color: rgb(84, 35, 202);
/* oklch */ color: oklch(44.7% 0.230 285.7);
Tailwind
colors: {
  custom: {
    50: '#9266dc',
    500: '#5423ca',
    950: '#000000',
  },
}
SCSS
$custom: #5423ca;
$custom-light: #9266dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5423ca",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 257.605,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.23029,
    "h": 285.7
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#5423CA
secondary
#B7D178
accent
#ED3BB9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5423CA

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

Preview Lab → · Contrast checker → · Palette generator →

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