#5924A7#5924A7

#5924A7 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.192 H 295.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5924A7
RGBrgb(89, 36, 167)
HSLhsl(264, 65%, 40%)
HSVhsv(264, 78%, 65%)
CMYKcmyk(46.7%, 78.4%, 0%, 34.5%)
CIE-LABlab(29.85, 51.26, -60.67)
CIE-LCHlch(29.85, 79.43, 310.20°)
OKLaboklab(41.86% 0.0811 -0.174)
OKLCHoklch(41.86% 0.192 295)
XYZxyz(11.7239, 6.1753, 37.1260)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5924A7 #72A724
analogous
#2430A7 #5924A7 #9B24A7
triadic
#5924A7 #A75924 #24A759
tetradic
#5924A7 #A72430 #72A724 #24A79B
square
#5924A7 #A72430 #72A724 #24A79B
split-complementary
#5924A7 #A79B24 #30A724
monochromatic
#230E42 #3E1975 #5924A7 #7535D3 #9767DE

Accessibility & contrast

On white

9.40
#5924A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5924A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5924A7
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5924A7#FFFFFF#000000##FFFFFF
##5924A71.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#424865
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5924a7;
/* rgb */ color: rgb(89, 36, 167);
/* oklch */ color: oklch(41.9% 0.192 295.0);
Tailwind
colors: {
  custom: {
    50: '#9065c2',
    500: '#5924a7',
    950: '#000000',
  },
}
SCSS
$custom: #5924a7;
$custom-light: #9065c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5924a7",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 264.275,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41856,
    "c": 0.19192,
    "h": 295
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#5924A7
secondary
#9DC463
accent
#E840A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5924A7

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

Preview Lab → · Contrast checker → · Palette generator →

#5924A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva