#5F44BE#5F44BE

#5F44BE is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.182 H 287.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5F44BE
RGBrgb(95, 68, 190)
HSLhsl(253, 48%, 51%)
HSVhsv(253, 64%, 75%)
CMYKcmyk(50%, 64.2%, 0%, 25.5%)
CIE-LABlab(38.35, 42.27, -60.44)
CIE-LCHlch(38.35, 73.75, 304.97°)
OKLaboklab(48.66% 0.0557 -0.1732)
OKLCHoklch(48.66% 0.182 287.8)
XYZxyz(16.0780, 10.2841, 49.8431)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44BE #A3BE44
analogous
#4466BE #5F44BE #9C44BE
triadic
#5F44BE #BE5F44 #44BE5F
tetradic
#5F44BE #BE4466 #A3BE44 #44BE9C
square
#5F44BE #BE4466 #A3BE44 #44BE9C
split-complementary
#5F44BE #BE9C44 #66BE44
monochromatic
#322365 #483392 #5F44BE #8671CE #AD9FDE

Accessibility & contrast

On white

6.87
#5F44BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5F44BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44BE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44BE#FFFFFF#000000##FFFFFF
##5F44BE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#3D627B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f44be;
/* rgb */ color: rgb(95, 68, 190);
/* oklch */ color: oklch(48.7% 0.182 287.8);
Tailwind
colors: {
  custom: {
    50: '#9479d2',
    500: '#5f44be',
    950: '#000000',
  },
}
SCSS
$custom: #5f44be;
$custom-light: #9479d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44be",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 190
  },
  "hsl": {
    "h": 253.279,
    "s": 48.413,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48655,
    "c": 0.18195,
    "h": 287.8
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#5F44BE
secondary
#BECA94
accent
#D850BA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5F44BE

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

Preview Lab → · Contrast checker → · Palette generator →

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