#5834AD#5834AD

#5834AD is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.181 H 290.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5834AD
RGBrgb(88, 52, 173)
HSLhsl(258, 54%, 44%)
HSVhsv(258, 70%, 68%)
CMYKcmyk(49.1%, 69.9%, 0%, 32.2%)
CIE-LABlab(33.02, 44.94, -59.09)
CIE-LCHlch(33.02, 74.24, 307.26°)
OKLaboklab(44.23% 0.0641 -0.1694)
OKLCHoklch(44.23% 0.181 290.7)
XYZxyz(12.7932, 7.5473, 40.3098)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834AD #89AD34
analogous
#344DAD #5834AD #9534AD
triadic
#5834AD #AD5834 #34AD58
tetradic
#5834AD #AD344D #89AD34 #34AD95
square
#5834AD #AD344D #89AD34 #34AD95
split-complementary
#5834AD #AD9534 #4DAD34
monochromatic
#28184F #40267E #5834AD #7753CB #9C82D9

Accessibility & contrast

On white

8.37
#5834AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5834AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834AD
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834AD#FFFFFF#000000##FFFFFF
##5834AD1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#3C536C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5834ad;
/* rgb */ color: rgb(88, 52, 173);
/* oklch */ color: oklch(44.2% 0.181 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f6ec6',
    500: '#5834ad',
    950: '#000000',
  },
}
SCSS
$custom: #5834ad;
$custom-light: #8f6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5834ad",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 257.851,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44231,
    "c": 0.18117,
    "h": 290.7
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#5834AD
secondary
#ADC37A
accent
#DD4BB2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5834AD

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

Preview Lab → · Contrast checker → · Palette generator →

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