#5343A2#5343A2

#5343A2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.2% C 0.147 H 286.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5343A2
RGBrgb(83, 67, 162)
HSLhsl(250, 41%, 45%)
HSVhsv(250, 59%, 64%)
CMYKcmyk(48.8%, 58.6%, 0%, 36.5%)
CIE-LABlab(34.93, 31.98, -49.42)
CIE-LCHlch(34.93, 58.87, 302.90°)
OKLaboklab(45.23% 0.0423 -0.1412)
OKLCHoklch(45.23% 0.147 286.7)
XYZxyz(12.0941, 8.4614, 35.1714)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5343A2 #92A243
analogous
#4363A2 #5343A2 #8243A2
triadic
#5343A2 #A25343 #43A253
tetradic
#5343A2 #A24363 #92A243 #43A282
square
#5343A2 #A24363 #92A243 #43A282
split-complementary
#5343A2 #A28243 #63A243
monochromatic
#271F4B #3D3177 #5343A2 #7364BF #9A8FD1

Accessibility & contrast

On white

7.80
#5343A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5343A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5343A2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5343A2#FFFFFF#000000##FFFFFF
##5343A21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#38596C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5343a2;
/* rgb */ color: rgb(83, 67, 162);
/* oklch */ color: oklch(45.2% 0.147 286.7);
Tailwind
colors: {
  custom: {
    50: '#8978be',
    500: '#5343a2',
    950: '#000000',
  },
}
SCSS
$custom: #5343a2;
$custom-light: #8978be;
$custom-dark: #000000;
JSON
{
  "hex": "#5343a2",
  "rgb": {
    "r": 83,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 250.105,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.14739,
    "h": 286.7
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#5343A2
secondary
#B3BC85
accent
#D156BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #5343A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5343A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva