#5434C0#5434C0

#5434C0 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.204 H 285.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5434C0
RGBrgb(84, 52, 192)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 73%, 75%)
CMYKcmyk(56.3%, 72.9%, 0%, 24.7%)
CIE-LABlab(34.28, 49.78, -68.29)
CIE-LCHlch(34.28, 84.51, 306.09°)
OKLaboklab(45.54% 0.0544 -0.1966)
OKLCHoklch(45.54% 0.204 285.5)
XYZxyz(14.3957, 8.1457, 50.6727)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434C0 #A0C034
analogous
#345AC0 #5434C0 #9A34C0
triadic
#5434C0 #C05434 #34C054
tetradic
#5434C0 #C0345A #A0C034 #34C09A
square
#5434C0 #C0345A #A0C034 #34C09A
split-complementary
#5434C0 #C09A34 #5AC034
monochromatic
#2A1A60 #3F2790 #5434C0 #795ED3 #A18EE0

Accessibility & contrast

On white

7.99
#5434C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5434C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434C0
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434C0#FFFFFF#000000##FFFFFF
##5434C01.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#205A77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5434c0;
/* rgb */ color: rgb(84, 52, 192);
/* oklch */ color: oklch(45.5% 0.204 285.5);
Tailwind
colors: {
  custom: {
    50: '#906fd4',
    500: '#5434c0',
    950: '#000000',
  },
}
SCSS
$custom: #5434c0;
$custom-light: #906fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5434c0",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 253.714,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.20396,
    "h": 285.5
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#5434C0
secondary
#BBCB85
accent
#E147BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5434C0

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

Preview Lab → · Contrast checker → · Palette generator →

#5434C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva