#5434CC#5434CC

#5434CC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.218 H 283.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5434CC
RGBrgb(84, 52, 204)
HSLhsl(253, 60%, 50%)
HSVhsv(253, 75%, 80%)
CMYKcmyk(58.8%, 74.5%, 0%, 20%)
CIE-LABlab(35.40, 53.26, -73.47)
CIE-LCHlch(35.40, 90.74, 305.94°)
OKLaboklab(46.67% 0.0516 -0.2117)
OKLCHoklch(46.67% 0.218 283.7)
XYZxyz(15.7799, 8.6994, 57.9627)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434CC #ACCC34
analogous
#3460CC #5434CC #A034CC
triadic
#5434CC #CC5434 #34CC54
tetradic
#5434CC #CC3460 #ACCC34 #34CCA0
square
#5434CC #CC3460 #ACCC34 #34CCA0
split-complementary
#5434CC #CCA034 #60CC34
monochromatic
#2C1B6B #40279C #5434CC #7D65D8 #A696E5

Accessibility & contrast

On white

7.66
#5434CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5434CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434CC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434CC#FFFFFF#000000##FFFFFF
##5434CC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#025F7E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5434cc;
/* rgb */ color: rgb(84, 52, 204);
/* oklch */ color: oklch(46.7% 0.218 283.7);
Tailwind
colors: {
  custom: {
    50: '#926fdd',
    500: '#5434cc',
    950: '#000000',
  },
}
SCSS
$custom: #5434cc;
$custom-light: #926fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5434cc",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 252.632,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.21793,
    "h": 283.7
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#5434CC
secondary
#C2D08C
accent
#E345C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5434CC

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

Preview Lab → · Contrast checker → · Palette generator →

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