#5434DD#5434DD

#5434DD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.237 H 281.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5434DD
RGBrgb(84, 52, 221)
HSLhsl(251, 71%, 54%)
HSVhsv(251, 76%, 87%)
CMYKcmyk(62%, 76.5%, 0%, 13.3%)
CIE-LABlab(37.04, 58.14, -80.58)
CIE-LCHlch(37.04, 99.37, 305.81°)
OKLaboklab(48.31% 0.0473 -0.2325)
OKLCHoklch(48.31% 0.237 281.5)
XYZxyz(17.9312, 9.5599, 69.2929)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434DD #BDDD34
analogous
#3468DD #5434DD #A834DD
triadic
#5434DD #DD5434 #34DD54
tetradic
#5434DD #DD3468 #BDDD34 #34DDA8
square
#5434DD #DD3468 #BDDD34 #34DDA8
split-complementary
#5434DD #DDA834 #68DD34
monochromatic
#2A1681 #3B1EB5 #5434DD #8068E6 #AC9DEF

Accessibility & contrast

On white

7.21
#5434DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5434DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434DD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434DD#FFFFFF#000000##FFFFFF
##5434DD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE2
Deuteranopia (green-blind)
#0051DA
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5434dd;
/* rgb */ color: rgb(84, 52, 221);
/* oklch */ color: oklch(48.3% 0.237 281.5);
Tailwind
colors: {
  custom: {
    50: '#9470e9',
    500: '#5434dd',
    950: '#000000',
  },
}
SCSS
$custom: #5434dd;
$custom-light: #9470e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5434dd",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 251.361,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48313,
    "c": 0.23725,
    "h": 281.5
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#5434DD
secondary
#CDDB92
accent
#EE3ACC
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5434DD

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

Preview Lab → · Contrast checker → · Palette generator →

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