#5331C7#5331C7

#5331C7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.215 H 284.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5331C7
RGBrgb(83, 49, 199)
HSLhsl(254, 60%, 49%)
HSVhsv(254, 75%, 78%)
CMYKcmyk(58.3%, 75.4%, 0%, 22%)
CIE-LABlab(34.31, 53.17, -72.35)
CIE-LCHlch(34.31, 89.79, 306.31°)
OKLaboklab(45.74% 0.0535 -0.2085)
OKLCHoklch(45.74% 0.215 284.4)
XYZxyz(14.9712, 8.1582, 54.8075)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331C7 #A5C731
analogous
#315AC7 #5331C7 #9E31C7
triadic
#5331C7 #C75331 #31C753
tetradic
#5331C7 #C7315A #A5C731 #31C79E
square
#5331C7 #C7315A #A5C731 #31C79E
split-complementary
#5331C7 #C79E31 #5AC731
monochromatic
#2A1965 #3F2596 #5331C7 #795ED7 #A28FE3

Accessibility & contrast

On white

7.98
#5331C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5331C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331C7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331C7#FFFFFF#000000##FFFFFF
##5331C71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#0D5C7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5331c7;
/* rgb */ color: rgb(83, 49, 199);
/* oklch */ color: oklch(45.7% 0.215 284.4);
Tailwind
colors: {
  custom: {
    50: '#906dd9',
    500: '#5331c7',
    950: '#000000',
  },
}
SCSS
$custom: #5331c7;
$custom-light: #906dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5331c7",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 253.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45738,
    "c": 0.21521,
    "h": 284.4
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#5331C7
secondary
#BECE86
accent
#E444BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5331C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5331C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva