#5941BD#5941BD

#5941BD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.185 H 285.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5941BD
RGBrgb(89, 65, 189)
HSLhsl(252, 49%, 50%)
HSVhsv(252, 66%, 74%)
CMYKcmyk(52.9%, 65.6%, 0%, 25.9%)
CIE-LABlab(37.07, 42.59, -61.95)
CIE-LCHlch(37.07, 75.17, 304.51°)
OKLaboklab(47.57% 0.0506 -0.1778)
OKLCHoklch(47.57% 0.185 285.9)
XYZxyz(15.1927, 9.5778, 49.1824)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941BD #A5BD41
analogous
#4167BD #5941BD #9741BD
triadic
#5941BD #BD5941 #41BD59
tetradic
#5941BD #BD4167 #A5BD41 #41BD97
square
#5941BD #BD4167 #A5BD41 #41BD97
split-complementary
#5941BD #BD9741 #67BD41
monochromatic
#2E2262 #44318F #5941BD #806ECD #A89CDD

Accessibility & contrast

On white

7.20
#5941BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5941BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5941BD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941BD#FFFFFF#000000##FFFFFF
##5941BD1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#316079
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5941bd;
/* rgb */ color: rgb(89, 65, 189);
/* oklch */ color: oklch(47.6% 0.185 285.9);
Tailwind
colors: {
  custom: {
    50: '#9177d2',
    500: '#5941bd',
    950: '#000000',
  },
}
SCSS
$custom: #5941bd;
$custom-light: #9177d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5941bd",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 251.613,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47574,
    "c": 0.18491,
    "h": 285.9
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#5941BD
secondary
#BEC991
accent
#D84FBE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5941BD

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

Preview Lab → · Contrast checker → · Palette generator →

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