#5737DB#5737DB

#5737DB is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.232 H 282.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5737DB
RGBrgb(87, 55, 219)
HSLhsl(252, 69%, 54%)
HSVhsv(252, 75%, 86%)
CMYKcmyk(60.3%, 74.9%, 0%, 14.1%)
CIE-LABlab(37.61, 56.47, -78.48)
CIE-LCHlch(37.61, 96.69, 305.73°)
OKLaboklab(48.72% 0.0502 -0.2263)
OKLCHoklch(48.72% 0.232 282.5)
XYZxyz(18.0789, 9.8718, 67.9569)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737DB #BBDB37
analogous
#3769DB #5737DB #A937DB
triadic
#5737DB #DB5737 #37DB57
tetradic
#5737DB #DB3769 #BBDB37 #37DBA9
square
#5737DB #DB3769 #BBDB37 #37DBA9
split-complementary
#5737DB #DBA937 #69DB37
monochromatic
#2C1780 #3D20B4 #5737DB #836BE4 #AE9FEE

Accessibility & contrast

On white

7.06
#5737DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5737DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737DB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737DB#FFFFFF#000000##FFFFFF
##5737DB1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5737db;
/* rgb */ color: rgb(87, 55, 219);
/* oklch */ color: oklch(48.7% 0.232 282.5);
Tailwind
colors: {
  custom: {
    50: '#9572e8',
    500: '#5737db',
    950: '#000000',
  },
}
SCSS
$custom: #5737db;
$custom-light: #9572e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5737db",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 219
  },
  "hsl": {
    "h": 251.707,
    "s": 69.492,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.2318,
    "h": 282.5
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#5737DB
secondary
#CCDA94
accent
#EC3BCA
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5737DB

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

Preview Lab → · Contrast checker → · Palette generator →

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