#5331C3#5331C3

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

Color values

HEX#5331C3
RGBrgb(83, 49, 195)
HSLhsl(254, 60%, 48%)
HSVhsv(254, 75%, 76%)
CMYKcmyk(57.4%, 74.9%, 0%, 23.5%)
CIE-LABlab(33.93, 52.03, -70.64)
CIE-LCHlch(33.93, 87.73, 306.37°)
OKLaboklab(45.36% 0.0545 -0.2034)
OKLCHoklch(45.36% 0.211 285)
XYZxyz(14.5129, 7.9749, 52.3937)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331C3 #A1C331
analogous
#3158C3 #5331C3 #9C31C3
triadic
#5331C3 #C35331 #31C353
tetradic
#5331C3 #C33158 #A1C331 #31C39C
square
#5331C3 #C33158 #A1C331 #31C39C
split-complementary
#5331C3 #C39C31 #58C331
monochromatic
#291861 #3E2592 #5331C3 #785BD6 #A08CE2

Accessibility & contrast

On white

8.09
#5331C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5331C3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331C3#FFFFFF#000000##FFFFFF
##5331C31.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#175A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5331c3;
/* rgb */ color: rgb(83, 49, 195);
/* oklch */ color: oklch(45.4% 0.211 285.0);
Tailwind
colors: {
  custom: {
    50: '#906dd6',
    500: '#5331c3',
    950: '#000000',
  },
}
SCSS
$custom: #5331c3;
$custom-light: #906dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5331c3",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 253.973,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.21062,
    "h": 285
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5331C3

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

Preview Lab → · Contrast checker → · Palette generator →

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