#5331E6#5331E6

#5331E6 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.250 H 280.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5331E6
RGBrgb(83, 49, 230)
HSLhsl(251, 78%, 55%)
HSVhsv(251, 79%, 90%)
CMYKcmyk(63.9%, 78.7%, 0%, 9.8%)
CIE-LABlab(37.38, 61.96, -85.16)
CIE-LCHlch(37.38, 105.31, 306.04°)
OKLaboklab(48.8% 0.045 -0.2458)
OKLCHoklch(48.8% 0.25 280.4)
XYZxyz(18.9440, 9.7473, 75.7307)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331E6 #C4E631
analogous
#3169E6 #5331E6 #AE31E6
triadic
#5331E6 #E65331 #31E653
tetradic
#5331E6 #E63169 #C4E631 #31E6AE
square
#5331E6 #E63169 #C4E631 #31E6AE
split-complementary
#5331E6 #E6AE31 #69E631
monochromatic
#28118C #3818C2 #5331E6 #8168ED #AE9EF3

Accessibility & contrast

On white

7.12
#5331E6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5331E6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331E6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331E6#FFFFFF#000000##FFFFFF
##5331E61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EEB
Deuteranopia (green-blind)
#0051E3
Tritanopia (blue-blind)
#00688C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5331e6;
/* rgb */ color: rgb(83, 49, 230);
/* oklch */ color: oklch(48.8% 0.250 280.4);
Tailwind
colors: {
  custom: {
    50: '#966fef',
    500: '#5331e6',
    950: '#000000',
  },
}
SCSS
$custom: #5331e6;
$custom-light: #966fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5331e6",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 230
  },
  "hsl": {
    "h": 251.271,
    "s": 78.355,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.24991,
    "h": 280.4
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#5331E6
secondary
#D1E093
accent
#F533D0
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5331E6

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

Preview Lab → · Contrast checker → · Palette generator →

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