#5335BE#5335BE

#5335BE is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.201 H 285.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5335BE
RGBrgb(83, 53, 190)
HSLhsl(253, 56%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(56.3%, 72.1%, 0%, 25.5%)
CIE-LABlab(34.19, 48.53, -67.27)
CIE-LCHlch(34.19, 82.94, 305.81°)
OKLaboklab(45.4% 0.0526 -0.1936)
OKLCHoklch(45.4% 0.201 285.2)
XYZxyz(14.1318, 8.1021, 49.5244)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5335BE #A0BE35
analogous
#355BBE #5335BE #9835BE
triadic
#5335BE #BE5335 #35BE53
tetradic
#5335BE #BE355B #A0BE35 #35BE98
square
#5335BE #BE355B #A0BE35 #35BE98
split-complementary
#5335BE #BE9835 #5BBE35
monochromatic
#291A5E #3E288E #5335BE #775ED2 #A08EDF

Accessibility & contrast

On white

8.01
#5335BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5335BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5335BE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5335BE#FFFFFF#000000##FFFFFF
##5335BE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#1F5A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5335be;
/* rgb */ color: rgb(83, 53, 190);
/* oklch */ color: oklch(45.4% 0.201 285.2);
Tailwind
colors: {
  custom: {
    50: '#8f6fd3',
    500: '#5335be',
    950: '#000000',
  },
}
SCSS
$custom: #5335be;
$custom-light: #8f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5335be",
  "rgb": {
    "r": 83,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 253.139,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.20064,
    "h": 285.2
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#5335BE
secondary
#BBCA85
accent
#E048BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5335BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5335BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva