#5934B3#5934B3

#5934B3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.188 H 290.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5934B3
RGBrgb(89, 52, 179)
HSLhsl(257, 55%, 45%)
HSVhsv(257, 71%, 70%)
CMYKcmyk(50.3%, 70.9%, 0%, 29.8%)
CIE-LABlab(33.63, 46.82, -61.66)
CIE-LCHlch(33.63, 77.42, 307.21°)
OKLaboklab(44.85% 0.0644 -0.177)
OKLCHoklch(44.85% 0.188 290)
XYZxyz(13.4822, 7.8339, 43.4408)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934B3 #8EB334
analogous
#344FB3 #5934B3 #9834B3
triadic
#5934B3 #B35934 #34B359
tetradic
#5934B3 #B3344F #8EB334 #34B398
square
#5934B3 #B3344F #8EB334 #34B398
split-complementary
#5934B3 #B39834 #4FB334
monochromatic
#2A1854 #412684 #5934B3 #7956CE #9F86DC

Accessibility & contrast

On white

8.18
#5934B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5934B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934B3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934B3#FFFFFF#000000##FFFFFF
##5934B31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#3A5570
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5934b3;
/* rgb */ color: rgb(89, 52, 179);
/* oklch */ color: oklch(44.9% 0.188 290.0);
Tailwind
colors: {
  custom: {
    50: '#906fcb',
    500: '#5934b3',
    950: '#000000',
  },
}
SCSS
$custom: #5934b3;
$custom-light: #906fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5934b3",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 257.48,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.18832,
    "h": 290
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#5934B3
secondary
#B0C57D
accent
#DE49B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5934B3

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

Preview Lab → · Contrast checker → · Palette generator →

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