#5F44BC#5F44BC

#5F44BC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.179 H 288.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5F44BC
RGBrgb(95, 68, 188)
HSLhsl(254, 47%, 50%)
HSVhsv(254, 64%, 74%)
CMYKcmyk(49.5%, 63.8%, 0%, 26.3%)
CIE-LABlab(38.19, 41.68, -59.51)
CIE-LCHlch(38.19, 72.66, 305.01°)
OKLaboklab(48.5% 0.0559 -0.1705)
OKLCHoklch(48.5% 0.179 288.2)
XYZxyz(15.8609, 10.1973, 48.6997)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44BC #A1BC44
analogous
#4465BC #5F44BC #9B44BC
triadic
#5F44BC #BC5F44 #44BC5F
tetradic
#5F44BC #BC4465 #A1BC44 #44BC9B
square
#5F44BC #BC4465 #A1BC44 #44BC9B
split-complementary
#5F44BC #BC9B44 #65BC44
monochromatic
#312362 #48338F #5F44BC #8671CC #AC9EDC

Accessibility & contrast

On white

6.91
#5F44BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5F44BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44BC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44BC#FFFFFF#000000##FFFFFF
##5F44BC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#3F617A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f44bc;
/* rgb */ color: rgb(95, 68, 188);
/* oklch */ color: oklch(48.5% 0.179 288.2);
Tailwind
colors: {
  custom: {
    50: '#9479d1',
    500: '#5f44bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f44bc;
$custom-light: #9479d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44bc",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 188
  },
  "hsl": {
    "h": 253.5,
    "s": 47.244,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.17943,
    "h": 288.2
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#5F44BC
secondary
#BDC993
accent
#D751B9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5F44BC

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

Preview Lab → · Contrast checker → · Palette generator →

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