#5941C7#5941C7

#5941C7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.197 H 284.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5941C7
RGBrgb(89, 65, 199)
HSLhsl(251, 54%, 52%)
HSVhsv(251, 67%, 78%)
CMYKcmyk(55.3%, 67.3%, 0%, 22%)
CIE-LABlab(37.89, 45.59, -66.46)
CIE-LCHlch(37.89, 80.60, 304.45°)
OKLaboklab(48.42% 0.0493 -0.1911)
OKLCHoklch(48.42% 0.197 284.5)
XYZxyz(16.3158, 10.0270, 55.0974)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941C7 #AFC741
analogous
#416CC7 #5941C7 #9C41C7
triadic
#5941C7 #C75941 #41C759
tetradic
#5941C7 #C7416C #AFC741 #41C79C
square
#5941C7 #C7416C #AFC741 #41C79C
split-complementary
#5941C7 #C79C41 #6CC741
monochromatic
#2E206D #422E9D #5941C7 #8270D5 #ACA0E3

Accessibility & contrast

On white

6.99
#5941C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5941C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941C7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941C7#FFFFFF#000000##FFFFFF
##5941C71.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#26637F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5941c7;
/* rgb */ color: rgb(89, 65, 199);
/* oklch */ color: oklch(48.4% 0.197 284.5);
Tailwind
colors: {
  custom: {
    50: '#9277d9',
    500: '#5941c7',
    950: '#000000',
  },
}
SCSS
$custom: #5941c7;
$custom-light: #9277d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5941c7",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 250.746,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.19735,
    "h": 284.5
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#5941C7
secondary
#C5CF95
accent
#DE4AC3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941C7

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

Preview Lab → · Contrast checker → · Palette generator →

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