#5409E2#5409E2

#5409E2 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.8% C 0.266 H 283.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5409E2
RGBrgb(84, 9, 226)
HSLhsl(261, 92%, 46%)
HSVhsv(261, 96%, 89%)
CMYKcmyk(62.8%, 96%, 0%, 11.4%)
CIE-LABlab(33.07, 72.81, -90.02)
CIE-LCHlch(33.07, 115.78, 308.97°)
OKLaboklab(45.76% 0.0608 -0.2594)
OKLCHoklch(45.76% 0.266 283.2)
XYZxyz(17.4771, 7.5699, 72.4769)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5409E2 #97E209
analogous
#092BE2 #5409E2 #C009E2
triadic
#5409E2 #E25409 #09E254
tetradic
#5409E2 #E2092B #97E209 #09E2C0
square
#5409E2 #E2092B #97E209 #09E2C0
split-complementary
#5409E2 #E2C009 #2BE209
monochromatic
#28046C #3E07A7 #5409E2 #7631F7 #9D6CF9

Accessibility & contrast

On white

8.35
#5409E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5409E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5409E2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5409E2#FFFFFF#000000##FFFFFF
##5409E21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#005C85
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5409e2;
/* rgb */ color: rgb(84, 9, 226);
/* oklch */ color: oklch(45.8% 0.266 283.2);
Tailwind
colors: {
  custom: {
    50: '#9761ed',
    500: '#5409e2',
    950: '#000000',
  },
}
SCSS
$custom: #5409e2;
$custom-light: #9761ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5409e2",
  "rgb": {
    "r": 84,
    "g": 9,
    "b": 226
  },
  "hsl": {
    "h": 260.737,
    "s": 92.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.26641,
    "h": 283.2
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#5409E2
secondary
#B6DF68
accent
#FF29B5
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#100617
muted
#7F7A85

Preview Lab

Preview with #5409E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5409E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva