#5531DB#5531DB

#5531DB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.237 H 282.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5531DB
RGBrgb(85, 49, 219)
HSLhsl(253, 70%, 53%)
HSVhsv(253, 78%, 86%)
CMYKcmyk(61.2%, 77.6%, 0%, 14.1%)
CIE-LABlab(36.44, 59.08, -80.41)
CIE-LCHlch(36.44, 99.78, 306.30°)
OKLaboklab(47.86% 0.051 -0.2319)
OKLCHoklch(47.86% 0.237 282.4)
XYZxyz(17.6268, 9.2411, 67.8590)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531DB #B7DB31
analogous
#3162DB #5531DB #AA31DB
triadic
#5531DB #DB5531 #31DB55
tetradic
#5531DB #DB3162 #B7DB31 #31DBAA
square
#5531DB #DB3162 #B7DB31 #31DBAA
split-complementary
#5531DB #DBAA31 #62DB31
monochromatic
#2B167C #3E1FB0 #5531DB #8065E4 #AB99ED

Accessibility & contrast

On white

7.37
#5531DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5531DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5531DB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531DB#FFFFFF#000000##FFFFFF
##5531DB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#0050D8
Tritanopia (blue-blind)
#006386
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5531db;
/* rgb */ color: rgb(85, 49, 219);
/* oklch */ color: oklch(47.9% 0.237 282.4);
Tailwind
colors: {
  custom: {
    50: '#956ee8',
    500: '#5531db',
    950: '#000000',
  },
}
SCSS
$custom: #5531db;
$custom-light: #956ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5531db",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 219
  },
  "hsl": {
    "h": 252.706,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.23747,
    "h": 282.4
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#5531DB
secondary
#C9D98F
accent
#ED3BC7
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5531DB

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

Preview Lab → · Contrast checker → · Palette generator →

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