#5834AA#5834AA

#5834AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.178 H 291.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5834AA
RGBrgb(88, 52, 170)
HSLhsl(258, 53%, 44%)
HSVhsv(258, 69%, 67%)
CMYKcmyk(48.2%, 69.4%, 0%, 33.3%)
CIE-LABlab(32.77, 44.09, -57.70)
CIE-LCHlch(32.77, 72.62, 307.38°)
OKLaboklab(43.97% 0.0646 -0.1654)
OKLCHoklch(43.97% 0.178 291.3)
XYZxyz(12.5061, 7.4325, 38.7981)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834AA #86AA34
analogous
#344BAA #5834AA #9334AA
triadic
#5834AA #AA5834 #34AA58
tetradic
#5834AA #AA344B #86AA34 #34AA93
square
#5834AA #AA344B #86AA34 #34AA93
split-complementary
#5834AA #AA9334 #4BAA34
monochromatic
#27174C #40267B #5834AA #7651CA #9B80D8

Accessibility & contrast

On white

8.45
#5834AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5834AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5834AA#FFFFFF#000000##FFFFFF
##5834AA1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#3E526B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5834aa;
/* rgb */ color: rgb(88, 52, 170);
/* oklch */ color: oklch(44.0% 0.178 291.3);
Tailwind
colors: {
  custom: {
    50: '#8f6ec4',
    500: '#5834aa',
    950: '#000000',
  },
}
SCSS
$custom: #5834aa;
$custom-light: #8f6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#5834aa",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 258.305,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.17756,
    "h": 291.3
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#5834AA
secondary
#ABC178
accent
#DD4BB0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5834AA

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

Preview Lab → · Contrast checker → · Palette generator →

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