#5834B4#5834B4

#5834B4 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.190 H 289.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5834B4
RGBrgb(88, 52, 180)
HSLhsl(257, 55%, 45%)
HSVhsv(257, 71%, 71%)
CMYKcmyk(51.1%, 71.1%, 0%, 29.4%)
CIE-LABlab(33.62, 46.94, -62.28)
CIE-LCHlch(33.62, 77.99, 307.00°)
OKLaboklab(44.84% 0.0628 -0.1788)
OKLCHoklch(44.84% 0.19 289.3)
XYZxyz(13.4883, 7.8254, 43.9709)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834B4 #90B434
analogous
#3450B4 #5834B4 #9834B4
triadic
#5834B4 #B45834 #34B458
tetradic
#5834B4 #B43450 #90B434 #34B498
square
#5834B4 #B43450 #90B434 #34B498
split-complementary
#5834B4 #B49834 #50B434
monochromatic
#2A1955 #412685 #5834B4 #7857CE #9E86DC

Accessibility & contrast

On white

8.19
#5834B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5834B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834B4
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834B4#FFFFFF#000000##FFFFFF
##5834B41.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#375570
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5834b4;
/* rgb */ color: rgb(88, 52, 180);
/* oklch */ color: oklch(44.8% 0.190 289.3);
Tailwind
colors: {
  custom: {
    50: '#906fcb',
    500: '#5834b4',
    950: '#000000',
  },
}
SCSS
$custom: #5834b4;
$custom-light: #906fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5834b4",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 256.875,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.18953,
    "h": 289.3
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#5834B4
secondary
#B2C67E
accent
#DF49B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5834B4

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

Preview Lab → · Contrast checker → · Palette generator →

#5834B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva