#5944BD#5944BD

#5944BD is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.181 H 285.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5944BD
RGBrgb(89, 68, 189)
HSLhsl(250, 48%, 50%)
HSVhsv(250, 64%, 74%)
CMYKcmyk(52.9%, 64%, 0%, 25.9%)
CIE-LABlab(37.72, 40.85, -60.90)
CIE-LCHlch(37.72, 73.33, 303.86°)
OKLaboklab(48.04% 0.0477 -0.1747)
OKLCHoklch(48.04% 0.181 285.3)
XYZxyz(15.3695, 9.9314, 49.2413)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944BD #A8BD44
analogous
#446CBD #5944BD #9544BD
triadic
#5944BD #BD5944 #44BD59
tetradic
#5944BD #BD446C #A8BD44 #44BD95
square
#5944BD #BD446C #A8BD44 #44BD95
split-complementary
#5944BD #BD9544 #6CBD44
monochromatic
#2E2363 #433391 #5944BD #8171CD #A99EDD

Accessibility & contrast

On white

7.03
#5944BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5944BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5944BD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5944BD#FFFFFF#000000##FFFFFF
##5944BD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#30627A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5944bd;
/* rgb */ color: rgb(89, 68, 189);
/* oklch */ color: oklch(48.0% 0.181 285.3);
Tailwind
colors: {
  custom: {
    50: '#9179d2',
    500: '#5944bd',
    950: '#000000',
  },
}
SCSS
$custom: #5944bd;
$custom-light: #9179d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5944bd",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 189
  },
  "hsl": {
    "h": 250.413,
    "s": 47.826,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48041,
    "c": 0.18115,
    "h": 285.3
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#5944BD
secondary
#C0C993
accent
#D750C0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5944BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5944BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva