#5336D3#5336D3

#5336D3 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.224 H 282.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5336D3
RGBrgb(83, 54, 211)
HSLhsl(251, 64%, 52%)
HSVhsv(251, 74%, 83%)
CMYKcmyk(60.7%, 74.4%, 0%, 17.3%)
CIE-LABlab(36.33, 54.17, -76.00)
CIE-LCHlch(36.33, 93.33, 305.48°)
OKLaboklab(47.5% 0.0472 -0.2192)
OKLCHoklch(47.5% 0.224 282.1)
XYZxyz(16.6406, 9.1793, 62.5103)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5336D3 #B6D336
analogous
#3667D3 #5336D3 #A236D3
triadic
#5336D3 #D35336 #36D353
tetradic
#5336D3 #D33667 #B6D336 #36D3A2
square
#5336D3 #D33667 #B6D336 #36D3A2
split-complementary
#5336D3 #D3A236 #67D336
monochromatic
#2A1A75 #3D25A7 #5336D3 #7E68DE #A99AE9

Accessibility & contrast

On white

7.40
#5336D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5336D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5336D3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5336D3#FFFFFF#000000##FFFFFF
##5336D31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD8
Deuteranopia (green-blind)
#0050D0
Tritanopia (blue-blind)
#006382
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5336d3;
/* rgb */ color: rgb(83, 54, 211);
/* oklch */ color: oklch(47.5% 0.224 282.1);
Tailwind
colors: {
  custom: {
    50: '#9271e2',
    500: '#5336d3',
    950: '#000000',
  },
}
SCSS
$custom: #5336d3;
$custom-light: #9271e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5336d3",
  "rgb": {
    "r": 83,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 251.083,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.22418,
    "h": 282.1
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#5336D3
secondary
#C8D590
accent
#E741C8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #5336D3

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

Preview Lab → · Contrast checker → · Palette generator →

#5336D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva