#5434B2#5434B2

#5434B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.187 H 287.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5434B2
RGBrgb(84, 52, 178)
HSLhsl(255, 55%, 45%)
HSVhsv(255, 71%, 70%)
CMYKcmyk(52.8%, 70.8%, 0%, 30.2%)
CIE-LABlab(33.04, 45.70, -62.06)
CIE-LCHlch(33.04, 77.07, 306.37°)
OKLaboklab(44.28% 0.0574 -0.1783)
OKLCHoklch(44.28% 0.187 287.8)
XYZxyz(12.9177, 7.5545, 42.8884)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434B2 #92B234
analogous
#3453B2 #5434B2 #9334B2
triadic
#5434B2 #B25434 #34B254
tetradic
#5434B2 #B23453 #92B234 #34B293
square
#5434B2 #B23453 #92B234 #34B293
split-complementary
#5434B2 #B29334 #53B234
monochromatic
#271853 #3E2683 #5434B2 #7456CE #9B85DB

Accessibility & contrast

On white

8.36
#5434B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5434B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434B2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434B2#FFFFFF#000000##FFFFFF
##5434B21.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#30556F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5434b2;
/* rgb */ color: rgb(84, 52, 178);
/* oklch */ color: oklch(44.3% 0.187 287.8);
Tailwind
colors: {
  custom: {
    50: '#8d6eca',
    500: '#5434b2',
    950: '#000000',
  },
}
SCSS
$custom: #5434b2;
$custom-light: #8d6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5434b2",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 255.238,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.18731,
    "h": 287.8
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#5434B2
secondary
#B3C57D
accent
#DE4AB8
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5434B2

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

Preview Lab → · Contrast checker → · Palette generator →

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