#5F49C8#5F49C8

#5F49C8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.188 H 285.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5F49C8
RGBrgb(95, 73, 200)
HSLhsl(250, 54%, 54%)
HSVhsv(250, 64%, 78%)
CMYKcmyk(52.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(40.19, 42.37, -63.27)
CIE-LCHlch(40.19, 76.14, 303.81°)
OKLaboklab(50.24% 0.0498 -0.1815)
OKLCHoklch(50.24% 0.188 285.3)
XYZxyz(17.5241, 11.3672, 55.9031)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49C8 #B2C849
analogous
#4972C8 #5F49C8 #9E49C8
triadic
#5F49C8 #C85F49 #49C85F
tetradic
#5F49C8 #C84972 #B2C849 #49C89E
square
#5F49C8 #C84972 #B2C849 #49C89E
split-complementary
#5F49C8 #C89E49 #72C849
monochromatic
#312374 #4531A3 #5F49C8 #8878D6 #B2A7E4

Accessibility & contrast

On white

6.41
#5F49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5F49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49C8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49C8#FFFFFF#000000##FFFFFF
##5F49C81.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#356882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f49c8;
/* rgb */ color: rgb(95, 73, 200);
/* oklch */ color: oklch(50.2% 0.188 285.3);
Tailwind
colors: {
  custom: {
    50: '#957dda',
    500: '#5f49c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f49c8;
$custom-light: #957dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49c8",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 250.394,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.18822,
    "h": 285.3
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#5F49C8
secondary
#C8D29B
accent
#DD4BC4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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