#5423B1#5423B1

#5423B1 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.204 H 290.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5423B1
RGBrgb(84, 35, 177)
HSLhsl(261, 67%, 42%)
HSVhsv(261, 80%, 69%)
CMYKcmyk(52.5%, 80.2%, 0%, 30.6%)
CIE-LABlab(30.06, 53.62, -66.35)
CIE-LCHlch(30.06, 85.30, 308.94°)
OKLaboklab(42.16% 0.071 -0.1907)
OKLCHoklch(42.16% 0.204 290.4)
XYZxyz(12.1907, 6.2607, 42.1525)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423B1 #80B123
analogous
#2339B1 #5423B1 #9B23B1
triadic
#5423B1 #B15423 #23B154
tetradic
#5423B1 #B12339 #80B123 #23B19B
square
#5423B1 #B12339 #80B123 #23B19B
split-complementary
#5423B1 #B19B23 #39B123
monochromatic
#240F4B #3C197E #5423B1 #7039D8 #956CE2

Accessibility & contrast

On white

9.32
#5423B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5423B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5423B1
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423B1#FFFFFF#000000##FFFFFF
##5423B11.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#324D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5423b1;
/* rgb */ color: rgb(84, 35, 177);
/* oklch */ color: oklch(42.2% 0.204 290.4);
Tailwind
colors: {
  custom: {
    50: '#8e65ca',
    500: '#5423b1',
    950: '#000000',
  },
}
SCSS
$custom: #5423b1;
$custom-light: #8e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5423b1",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 260.704,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.20352,
    "h": 290.4
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#5423B1
secondary
#A7C868
accent
#EA3EAF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5423B1

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

Preview Lab → · Contrast checker → · Palette generator →

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