#5941BB#5941BB

#5941BB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.182 H 286.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5941BB
RGBrgb(89, 65, 187)
HSLhsl(252, 48%, 49%)
HSVhsv(252, 65%, 73%)
CMYKcmyk(52.4%, 65.2%, 0%, 26.7%)
CIE-LABlab(36.91, 41.99, -61.03)
CIE-LCHlch(36.91, 74.08, 304.53°)
OKLaboklab(47.41% 0.0509 -0.1751)
OKLCHoklch(47.41% 0.182 286.2)
XYZxyz(14.9771, 9.4915, 48.0469)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941BB #A3BB41
analogous
#4166BB #5941BB #9641BB
triadic
#5941BB #BB5941 #41BB59
tetradic
#5941BB #BB4166 #A3BB41 #41BB96
square
#5941BB #BB4166 #A3BB41 #41BB96
split-complementary
#5941BB #BB9641 #66BB41
monochromatic
#2E2160 #43318E #5941BB #806DCC #A79ADC

Accessibility & contrast

On white

7.25
#5941BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5941BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5941BB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941BB#FFFFFF#000000##FFFFFF
##5941BB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#335F78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5941bb;
/* rgb */ color: rgb(89, 65, 187);
/* oklch */ color: oklch(47.4% 0.182 286.2);
Tailwind
colors: {
  custom: {
    50: '#9177d0',
    500: '#5941bb',
    950: '#000000',
  },
}
SCSS
$custom: #5941bb;
$custom-light: #9177d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5941bb",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 251.803,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47408,
    "c": 0.18239,
    "h": 286.2
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#5941BB
secondary
#BDC890
accent
#D850BD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5941BB

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

Preview Lab → · Contrast checker → · Palette generator →

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