#5943BF#5943BF

#5943BF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.185 H 285.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5943BF
RGBrgb(89, 67, 191)
HSLhsl(251, 49%, 51%)
HSVhsv(251, 65%, 75%)
CMYKcmyk(53.4%, 64.9%, 0%, 25.1%)
CIE-LABlab(37.66, 42.04, -62.16)
CIE-LCHlch(37.66, 75.05, 304.07°)
OKLaboklab(48.05% 0.0485 -0.1785)
OKLCHoklch(48.05% 0.185 285.2)
XYZxyz(15.5281, 9.8989, 50.3726)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943BF #A9BF43
analogous
#436BBF #5943BF #9743BF
triadic
#5943BF #BF5943 #43BF59
tetradic
#5943BF #BF436B #A9BF43 #43BF97
square
#5943BF #BF436B #A9BF43 #43BF97
split-complementary
#5943BF #BF9743 #6BBF43
monochromatic
#2E2265 #433293 #5943BF #8171CF #AA9EDE

Accessibility & contrast

On white

7.05
#5943BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5943BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5943BF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943BF#FFFFFF#000000##FFFFFF
##5943BF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#2F627B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5943bf;
/* rgb */ color: rgb(89, 67, 191);
/* oklch */ color: oklch(48.0% 0.185 285.2);
Tailwind
colors: {
  custom: {
    50: '#9178d3',
    500: '#5943bf',
    950: '#000000',
  },
}
SCSS
$custom: #5943bf;
$custom-light: #9178d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5943bf",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 250.645,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.18494,
    "h": 285.2
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#5943BF
secondary
#C1CA93
accent
#D94FC0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5943BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5943BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva