#5431C3#5431C3

#5431C3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.211 H 285.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5431C3
RGBrgb(84, 49, 195)
HSLhsl(254, 60%, 48%)
HSVhsv(254, 75%, 76%)
CMYKcmyk(56.9%, 74.9%, 0%, 23.5%)
CIE-LABlab(34.03, 52.16, -70.48)
CIE-LCHlch(34.03, 87.68, 306.51°)
OKLaboklab(45.45% 0.056 -0.2029)
OKLCHoklch(45.45% 0.211 285.4)
XYZxyz(14.6018, 8.0207, 52.3979)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5431C3 #A0C331
analogous
#3157C3 #5431C3 #9D31C3
triadic
#5431C3 #C35431 #31C354
tetradic
#5431C3 #C33157 #A0C331 #31C39D
square
#5431C3 #C33157 #A0C331 #31C39D
split-complementary
#5431C3 #C39D31 #57C331
monochromatic
#2A1861 #3F2592 #5431C3 #795BD6 #A18CE2

Accessibility & contrast

On white

8.06
#5431C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5431C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5431C3
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5431C3#FFFFFF#000000##FFFFFF
##5431C31.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#1C5A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5431c3;
/* rgb */ color: rgb(84, 49, 195);
/* oklch */ color: oklch(45.4% 0.211 285.4);
Tailwind
colors: {
  custom: {
    50: '#906dd6',
    500: '#5431c3',
    950: '#000000',
  },
}
SCSS
$custom: #5431c3;
$custom-light: #906dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5431c3",
  "rgb": {
    "r": 84,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 254.384,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.21052,
    "h": 285.4
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#5431C3
secondary
#BBCC83
accent
#E345BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5431C3

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

Preview Lab → · Contrast checker → · Palette generator →

#5431C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva