#5337DB#5337DB

#5337DB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.232 H 281.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5337DB
RGBrgb(83, 55, 219)
HSLhsl(250, 69%, 54%)
HSVhsv(250, 75%, 86%)
CMYKcmyk(62.1%, 74.9%, 0%, 14.1%)
CIE-LABlab(37.27, 56.00, -79.06)
CIE-LCHlch(37.27, 96.88, 305.31°)
OKLaboklab(48.4% 0.0446 -0.2281)
OKLCHoklch(48.4% 0.232 281.1)
XYZxyz(17.7156, 9.6845, 67.9398)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337DB #BFDB37
analogous
#376DDB #5337DB #A537DB
triadic
#5337DB #DB5337 #37DB53
tetradic
#5337DB #DB376D #BFDB37 #37DBA5
square
#5337DB #DB376D #BFDB37 #37DBA5
split-complementary
#5337DB #DBA537 #6DDB37
monochromatic
#291780 #3A20B4 #5337DB #806BE4 #AC9FEE

Accessibility & contrast

On white

7.15
#5337DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5337DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337DB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337DB#FFFFFF#000000##FFFFFF
##5337DB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5337db;
/* rgb */ color: rgb(83, 55, 219);
/* oklch */ color: oklch(48.4% 0.232 281.1);
Tailwind
colors: {
  custom: {
    50: '#9372e8',
    500: '#5337db',
    950: '#000000',
  },
}
SCSS
$custom: #5337db;
$custom-light: #9372e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5337db",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 219
  },
  "hsl": {
    "h": 250.244,
    "s": 69.492,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.23242,
    "h": 281.1
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#5337DB
secondary
#CEDA94
accent
#EC3BCE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5337DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5337DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva