#5D4FDF#5D4FDF

#5D4FDF is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.210 H 280.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5D4FDF
RGBrgb(93, 79, 223)
HSLhsl(246, 69%, 59%)
HSVhsv(246, 65%, 87%)
CMYKcmyk(58.3%, 64.6%, 0%, 12.5%)
CIE-LABlab(43.13, 45.59, -71.70)
CIE-LCHlch(43.13, 84.97, 302.45°)
OKLaboklab(52.89% 0.0394 -0.2063)
OKLCHoklch(52.89% 0.21 280.8)
XYZxyz(20.6253, 13.2454, 71.2675)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FDF #D1DF4F
analogous
#4F89DF #5D4FDF #A54FDF
triadic
#5D4FDF #DF5D4F #4FDF5D
tetradic
#5D4FDF #DF4F89 #D1DF4F #4FDFA5
square
#5D4FDF #DF4F89 #D1DF4F #4FDFA5
split-complementary
#5D4FDF #DFA54F #89DF4F
monochromatic
#281C98 #3525CC #5D4FDF #8D83E8 #BCB7F2

Accessibility & contrast

On white

5.75
#5D4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5D4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FDF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FDF#FFFFFF#000000##FFFFFF
##5D4FDF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4fdf;
/* rgb */ color: rgb(93, 79, 223);
/* oklch */ color: oklch(52.9% 0.210 280.8);
Tailwind
colors: {
  custom: {
    50: '#9781ea',
    500: '#5d4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fdf;
$custom-light: #9781ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fdf",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 245.833,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.21007,
    "h": 280.8
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#5D4FDF
secondary
#DCE1A9
accent
#EC3CDB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

#5D4FDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva