#5944C2#5944C2

#5944C2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.187 H 284.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5944C2
RGBrgb(89, 68, 194)
HSLhsl(250, 51%, 51%)
HSVhsv(250, 65%, 76%)
CMYKcmyk(54.1%, 64.9%, 0%, 23.9%)
CIE-LABlab(38.11, 42.37, -63.18)
CIE-LCHlch(38.11, 76.07, 303.85°)
OKLaboklab(48.45% 0.0472 -0.1814)
OKLCHoklch(48.45% 0.187 284.6)
XYZxyz(15.9216, 10.1522, 52.1491)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944C2 #ADC244
analogous
#446EC2 #5944C2 #9844C2
triadic
#5944C2 #C25944 #44C259
tetradic
#5944C2 #C2446E #ADC244 #44C298
square
#5944C2 #C2446E #ADC244 #44C298
split-complementary
#5944C2 #C29844 #6EC244
monochromatic
#2E2269 #423197 #5944C2 #8272D1 #ABA0E0

Accessibility & contrast

On white

6.93
#5944C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5944C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5944C2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5944C2#FFFFFF#000000##FFFFFF
##5944C21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#2B637D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5944c2;
/* rgb */ color: rgb(89, 68, 194);
/* oklch */ color: oklch(48.5% 0.187 284.6);
Tailwind
colors: {
  custom: {
    50: '#9179d5',
    500: '#5944c2',
    950: '#000000',
  },
}
SCSS
$custom: #5944c2;
$custom-light: #9179d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5944c2",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 250,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.18749,
    "h": 284.6
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#5944C2
secondary
#C3CD95
accent
#DA4EC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5944C2

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

Preview Lab → · Contrast checker → · Palette generator →

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