#5F4AD9#5F4AD9

#5F4AD9 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.8% C 0.208 H 283.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5F4AD9
RGBrgb(95, 74, 217)
HSLhsl(249, 65%, 57%)
HSVhsv(249, 66%, 85%)
CMYKcmyk(56.2%, 65.9%, 0%, 14.9%)
CIE-LABlab(41.75, 46.92, -70.52)
CIE-LCHlch(41.75, 84.71, 303.64°)
OKLaboklab(51.78% 0.047 -0.2028)
OKLCHoklch(51.78% 0.208 283)
XYZxyz(19.6886, 12.3390, 66.9764)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4AD9 #C4D94A
analogous
#4A7DD9 #5F4AD9 #A64AD9
triadic
#5F4AD9 #D95F4A #4AD95F
tetradic
#5F4AD9 #D94A7D #C4D94A #4AD9A6
square
#5F4AD9 #D94A7D #C4D94A #4AD9A6
split-complementary
#5F4AD9 #D9A64A #7DD94A
monochromatic
#2D1D8B #3E28BE #5F4AD9 #8C7DE4 #B8AFEE

Accessibility & contrast

On white

6.06
#5F4AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5F4AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4AD9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4AD9#FFFFFF#000000##FFFFFF
##5F4AD91.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#206E8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f4ad9;
/* rgb */ color: rgb(95, 74, 217);
/* oklch */ color: oklch(51.8% 0.208 283.0);
Tailwind
colors: {
  custom: {
    50: '#987ee6',
    500: '#5f4ad9',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ad9;
$custom-light: #987ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ad9",
  "rgb": {
    "r": 95,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 248.811,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.20821,
    "h": 283
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#5F4AD9
secondary
#D4DCA2
accent
#E840CF
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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