#5335BF#5335BF

#5335BF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.202 H 285.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5335BF
RGBrgb(83, 53, 191)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(56.5%, 72.3%, 0%, 25.1%)
CIE-LABlab(34.29, 48.82, -67.71)
CIE-LCHlch(34.29, 83.47, 305.79°)
OKLaboklab(45.49% 0.0524 -0.1949)
OKLCHoklch(45.49% 0.202 285.1)
XYZxyz(14.2415, 8.1460, 50.1020)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5335BF #A1BF35
analogous
#355CBF #5335BF #9835BF
triadic
#5335BF #BF5335 #35BF53
tetradic
#5335BF #BF355C #A1BF35 #35BF98
square
#5335BF #BF355C #A1BF35 #35BF98
split-complementary
#5335BF #BF9835 #5CBF35
monochromatic
#291A5F #3E288F #5335BF #785FD3 #A08FE0

Accessibility & contrast

On white

7.99
#5335BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5335BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5335BF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5335BF#FFFFFF#000000##FFFFFF
##5335BF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#1E5A77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5335bf;
/* rgb */ color: rgb(83, 53, 191);
/* oklch */ color: oklch(45.5% 0.202 285.1);
Tailwind
colors: {
  custom: {
    50: '#8f6fd3',
    500: '#5335bf',
    950: '#000000',
  },
}
SCSS
$custom: #5335bf;
$custom-light: #8f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5335bf",
  "rgb": {
    "r": 83,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 253.043,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.20183,
    "h": 285.1
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5335BF

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

Preview Lab → · Contrast checker → · Palette generator →

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