#5931AF#5931AF

#5931AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.187 H 291.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5931AF
RGBrgb(89, 49, 175)
HSLhsl(259, 56%, 44%)
HSVhsv(259, 72%, 69%)
CMYKcmyk(49.1%, 72%, 0%, 31.4%)
CIE-LABlab(32.73, 47.25, -60.75)
CIE-LCHlch(32.73, 76.96, 307.88°)
OKLaboklab(44.1% 0.068 -0.1743)
OKLCHoklch(44.1% 0.187 291.3)
XYZxyz(12.9538, 7.4151, 41.2979)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931AF #87AF31
analogous
#3148AF #5931AF #9831AF
triadic
#5931AF #AF5931 #31AF59
tetradic
#5931AF #AF3148 #87AF31 #31AF98
square
#5931AF #AF3148 #87AF31 #31AF98
split-complementary
#5931AF #AF9831 #48AF31
monochromatic
#28164F #41247F #5931AF #784FCE #9C7FDB

Accessibility & contrast

On white

8.46
#5931AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5931AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5931AF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5931AF#FFFFFF#000000##FFFFFF
##5931AF1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#3D526D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5931af;
/* rgb */ color: rgb(89, 49, 175);
/* oklch */ color: oklch(44.1% 0.187 291.3);
Tailwind
colors: {
  custom: {
    50: '#906dc8',
    500: '#5931af',
    950: '#000000',
  },
}
SCSS
$custom: #5931af;
$custom-light: #906dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5931af",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 259.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44104,
    "c": 0.18706,
    "h": 291.3
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#5931AF
secondary
#ACC478
accent
#E048B0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5931AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5931AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva