#5934AF#5934AF

#5934AF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.184 H 290.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5934AF
RGBrgb(89, 52, 175)
HSLhsl(258, 54%, 45%)
HSVhsv(258, 70%, 69%)
CMYKcmyk(49.1%, 70.3%, 0%, 31.4%)
CIE-LABlab(33.30, 45.68, -59.83)
CIE-LCHlch(33.30, 75.28, 307.36°)
OKLaboklab(44.5% 0.0652 -0.1716)
OKLCHoklch(44.5% 0.184 290.8)
XYZxyz(13.0835, 7.6745, 41.3411)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934AF #8AAF34
analogous
#344CAF #5934AF #9734AF
triadic
#5934AF #AF5934 #34AF59
tetradic
#5934AF #AF344C #8AAF34 #34AF97
square
#5934AF #AF344C #8AAF34 #34AF97
split-complementary
#5934AF #AF9734 #4CAF34
monochromatic
#291851 #412680 #5934AF #7854CC #9D83DA

Accessibility & contrast

On white

8.28
#5934AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5934AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934AF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934AF#FFFFFF#000000##FFFFFF
##5934AF1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#3D536E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5934af;
/* rgb */ color: rgb(89, 52, 175);
/* oklch */ color: oklch(44.5% 0.184 290.8);
Tailwind
colors: {
  custom: {
    50: '#906ec8',
    500: '#5934af',
    950: '#000000',
  },
}
SCSS
$custom: #5934af;
$custom-light: #906ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5934af",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 258.049,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.18356,
    "h": 290.8
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#5934AF
secondary
#AEC47B
accent
#DE4AB1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5934AF

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

Preview Lab → · Contrast checker → · Palette generator →

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