#5331C0#5331C0

#5331C0 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.207 H 285.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5331C0
RGBrgb(83, 49, 192)
HSLhsl(254, 59%, 47%)
HSVhsv(254, 74%, 75%)
CMYKcmyk(56.8%, 74.5%, 0%, 24.7%)
CIE-LABlab(33.65, 51.16, -69.34)
CIE-LCHlch(33.65, 86.17, 306.42°)
OKLaboklab(45.07% 0.0552 -0.1996)
OKLCHoklch(45.07% 0.207 285.5)
XYZxyz(14.1771, 7.8406, 50.6253)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331C0 #9EC031
analogous
#3156C0 #5331C0 #9B31C0
triadic
#5331C0 #C05331 #31C053
tetradic
#5331C0 #C03156 #9EC031 #31C09B
square
#5331C0 #C03156 #9EC031 #31C09B
split-complementary
#5331C0 #C09B31 #56C031
monochromatic
#29185E #3E258F #5331C0 #7759D5 #9F8AE1

Accessibility & contrast

On white

8.18
#5331C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5331C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331C0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331C0#FFFFFF#000000##FFFFFF
##5331C01.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#1D5976
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5331c0;
/* rgb */ color: rgb(83, 49, 192);
/* oklch */ color: oklch(45.1% 0.207 285.5);
Tailwind
colors: {
  custom: {
    50: '#8f6dd4',
    500: '#5331c0',
    950: '#000000',
  },
}
SCSS
$custom: #5331c0;
$custom-light: #8f6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5331c0",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 254.266,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.20715,
    "h": 285.5
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#5331C0
secondary
#BACB82
accent
#E345BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5331C0

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

Preview Lab → · Contrast checker → · Palette generator →

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