#5423B2#5423B2

#5423B2 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.205 H 290.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5423B2
RGBrgb(84, 35, 178)
HSLhsl(261, 67%, 42%)
HSVhsv(261, 80%, 70%)
CMYKcmyk(52.8%, 80.3%, 0%, 30.2%)
CIE-LABlab(30.16, 53.88, -66.78)
CIE-LCHlch(30.16, 85.81, 308.90°)
OKLaboklab(42.25% 0.0706 -0.192)
OKLCHoklch(42.25% 0.205 290.2)
XYZxyz(12.2907, 6.3007, 42.6794)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423B2 #81B223
analogous
#233AB2 #5423B2 #9B23B2
triadic
#5423B2 #B25423 #23B254
tetradic
#5423B2 #B2233A #81B223 #23B29B
square
#5423B2 #B2233A #81B223 #23B29B
split-complementary
#5423B2 #B29B23 #3AB223
monochromatic
#240F4C #3C197F #5423B2 #703AD8 #956DE2

Accessibility & contrast

On white

9.29
#5423B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5423B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5423B2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423B2#FFFFFF#000000##FFFFFF
##5423B21.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#314D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5423b2;
/* rgb */ color: rgb(84, 35, 178);
/* oklch */ color: oklch(42.3% 0.205 290.2);
Tailwind
colors: {
  custom: {
    50: '#8f65ca',
    500: '#5423b2',
    950: '#000000',
  },
}
SCSS
$custom: #5423b2;
$custom-light: #8f65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5423b2",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 260.559,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.2046,
    "h": 290.2
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#5423B2
secondary
#A8C968
accent
#EA3EAF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5423B2

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

Preview Lab → · Contrast checker → · Palette generator →

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