#5941C8#5941C8

#5941C8 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.199 H 284.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5941C8
RGBrgb(89, 65, 200)
HSLhsl(251, 55%, 52%)
HSVhsv(251, 68%, 78%)
CMYKcmyk(55.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(37.97, 45.89, -66.91)
CIE-LCHlch(37.97, 81.13, 304.45°)
OKLaboklab(48.5% 0.0492 -0.1924)
OKLCHoklch(48.5% 0.199 284.3)
XYZxyz(16.4323, 10.0736, 55.7109)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941C8 #B0C841
analogous
#416CC8 #5941C8 #9D41C8
triadic
#5941C8 #C85941 #41C859
tetradic
#5941C8 #C8416C #B0C841 #41C89D
square
#5941C8 #C8416C #B0C841 #41C89D
split-complementary
#5941C8 #C89D41 #6CC841
monochromatic
#2E206F #422E9E #5941C8 #8270D6 #ACA0E3

Accessibility & contrast

On white

6.97
#5941C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5941C8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941C8#FFFFFF#000000##FFFFFF
##5941C81.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#25647F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5941c8;
/* rgb */ color: rgb(89, 65, 200);
/* oklch */ color: oklch(48.5% 0.199 284.3);
Tailwind
colors: {
  custom: {
    50: '#9377da',
    500: '#5941c8',
    950: '#000000',
  },
}
SCSS
$custom: #5941c8;
$custom-light: #9377da;
$custom-dark: #000000;
JSON
{
  "hex": "#5941c8",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 250.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.19857,
    "h": 284.3
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#5941C8
secondary
#C5D095
accent
#DE49C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941C8

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

Preview Lab → · Contrast checker → · Palette generator →

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