#5334C1#5334C1

#5334C1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.205 H 284.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5334C1
RGBrgb(83, 52, 193)
HSLhsl(253, 58%, 48%)
HSVhsv(253, 73%, 76%)
CMYKcmyk(57%, 73.1%, 0%, 24.3%)
CIE-LABlab(34.28, 49.93, -68.89)
CIE-LCHlch(34.28, 85.08, 305.93°)
OKLaboklab(45.55% 0.0528 -0.1983)
OKLCHoklch(45.55% 0.205 284.9)
XYZxyz(14.4180, 8.1444, 51.2540)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334C1 #A2C134
analogous
#345CC1 #5334C1 #9934C1
triadic
#5334C1 #C15334 #34C153
tetradic
#5334C1 #C1345C #A2C134 #34C199
square
#5334C1 #C1345C #A2C134 #34C199
split-complementary
#5334C1 #C19934 #5CC134
monochromatic
#2A1A61 #3E2791 #5334C1 #785ED4 #A18FE1

Accessibility & contrast

On white

7.99
#5334C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5334C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334C1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334C1#FFFFFF#000000##FFFFFF
##5334C11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#1A5B78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5334c1;
/* rgb */ color: rgb(83, 52, 193);
/* oklch */ color: oklch(45.5% 0.205 284.9);
Tailwind
colors: {
  custom: {
    50: '#8f6fd5',
    500: '#5334c1',
    950: '#000000',
  },
}
SCSS
$custom: #5334c1;
$custom-light: #8f6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5334c1",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 253.191,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.20525,
    "h": 284.9
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#5334C1
secondary
#BCCB86
accent
#E147BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5334C1

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

Preview Lab → · Contrast checker → · Palette generator →

#5334C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva