#5934B2#5934B2

#5934B2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.187 H 290.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5934B2
RGBrgb(89, 52, 178)
HSLhsl(258, 55%, 45%)
HSVhsv(258, 71%, 70%)
CMYKcmyk(50%, 70.8%, 0%, 30.2%)
CIE-LABlab(33.55, 46.54, -61.20)
CIE-LCHlch(33.55, 76.89, 307.25°)
OKLaboklab(44.76% 0.0646 -0.1756)
OKLCHoklch(44.76% 0.187 290.2)
XYZxyz(13.3814, 7.7936, 42.9101)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934B2 #8DB234
analogous
#344EB2 #5934B2 #9834B2
triadic
#5934B2 #B25934 #34B259
tetradic
#5934B2 #B2344E #8DB234 #34B298
square
#5934B2 #B2344E #8DB234 #34B298
split-complementary
#5934B2 #B29834 #4EB234
monochromatic
#2A1853 #412683 #5934B2 #7956CE #9E85DB

Accessibility & contrast

On white

8.21
#5934B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5934B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934B2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934B2#FFFFFF#000000##FFFFFF
##5934B21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#3B556F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5934b2;
/* rgb */ color: rgb(89, 52, 178);
/* oklch */ color: oklch(44.8% 0.187 290.2);
Tailwind
colors: {
  custom: {
    50: '#906fca',
    500: '#5934b2',
    950: '#000000',
  },
}
SCSS
$custom: #5934b2;
$custom-light: #906fca;
$custom-dark: #000000;
JSON
{
  "hex": "#5934b2",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 257.619,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44763,
    "c": 0.18713,
    "h": 290.2
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#5934B2
secondary
#B0C57D
accent
#DE4AB3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5934B2

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

Preview Lab → · Contrast checker → · Palette generator →

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