#5930AF#5930AF

#5930AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.188 H 291.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5930AF
RGBrgb(89, 48, 175)
HSLhsl(259, 57%, 44%)
HSVhsv(259, 73%, 69%)
CMYKcmyk(49.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(32.55, 47.76, -61.05)
CIE-LCHlch(32.55, 77.51, 308.04°)
OKLaboklab(43.97% 0.0689 -0.1751)
OKLCHoklch(43.97% 0.188 291.5)
XYZxyz(12.9125, 7.3324, 41.2841)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930AF #86AF30
analogous
#3046AF #5930AF #9830AF
triadic
#5930AF #AF5930 #30AF59
tetradic
#5930AF #AF3046 #86AF30 #30AF98
square
#5930AF #AF3046 #86AF30 #30AF98
split-complementary
#5930AF #AF9830 #46AF30
monochromatic
#28164F #41237F #5930AF #774ECE #9C7EDC

Accessibility & contrast

On white

8.51
#5930AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5930AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930AF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930AF#FFFFFF#000000##FFFFFF
##5930AF1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5930af;
/* rgb */ color: rgb(89, 48, 175);
/* oklch */ color: oklch(44.0% 0.188 291.5);
Tailwind
colors: {
  custom: {
    50: '#906cc8',
    500: '#5930af',
    950: '#000000',
  },
}
SCSS
$custom: #5930af;
$custom-light: #906cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5930af",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 259.37,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.1882,
    "h": 291.5
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#5930AF
secondary
#ABC476
accent
#E048AF
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5930AF

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

Preview Lab → · Contrast checker → · Palette generator →

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