#5339C1#5339C1

#5339C1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.200 H 284.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5339C1
RGBrgb(83, 57, 193)
HSLhsl(251, 54%, 49%)
HSVhsv(251, 70%, 76%)
CMYKcmyk(57%, 70.5%, 0%, 24.3%)
CIE-LABlab(35.23, 47.28, -67.33)
CIE-LCHlch(35.23, 82.27, 305.08°)
OKLaboklab(46.22% 0.0488 -0.1938)
OKLCHoklch(46.22% 0.2 284.1)
XYZxyz(14.6531, 8.6146, 51.3324)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339C1 #A7C139
analogous
#3963C1 #5339C1 #9739C1
triadic
#5339C1 #C15339 #39C153
tetradic
#5339C1 #C13963 #A7C139 #39C197
square
#5339C1 #C13963 #A7C139 #39C197
split-complementary
#5339C1 #C19739 #63C139
monochromatic
#2A1D63 #3F2B92 #5339C1 #7A66D2 #A395E0

Accessibility & contrast

On white

7.71
#5339C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5339C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339C1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339C1#FFFFFF#000000##FFFFFF
##5339C11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#1A5D79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5339c1;
/* rgb */ color: rgb(83, 57, 193);
/* oklch */ color: oklch(46.2% 0.200 284.1);
Tailwind
colors: {
  custom: {
    50: '#8f72d5',
    500: '#5339c1',
    950: '#000000',
  },
}
SCSS
$custom: #5339c1;
$custom-light: #8f72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5339c1",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 251.471,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.19986,
    "h": 284.1
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#5339C1
secondary
#BFCB8B
accent
#DE4AC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5339C1

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

Preview Lab → · Contrast checker → · Palette generator →

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