#5834AB#5834AB

#5834AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.179 H 291.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5834AB
RGBrgb(88, 52, 171)
HSLhsl(258, 53%, 44%)
HSVhsv(258, 70%, 67%)
CMYKcmyk(48.5%, 69.6%, 0%, 32.9%)
CIE-LABlab(32.85, 44.37, -58.16)
CIE-LCHlch(32.85, 73.16, 307.34°)
OKLaboklab(44.06% 0.0644 -0.1667)
OKLCHoklch(44.06% 0.179 291.1)
XYZxyz(12.6011, 7.4705, 39.2982)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834AB #87AB34
analogous
#344BAB #5834AB #9334AB
triadic
#5834AB #AB5834 #34AB58
tetradic
#5834AB #AB344B #87AB34 #34AB93
square
#5834AB #AB344B #87AB34 #34AB93
split-complementary
#5834AB #AB9334 #4BAB34
monochromatic
#28174D #40267C #5834AB #7652CA #9B81D9

Accessibility & contrast

On white

8.42
#5834AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5834AB#FFFFFF#000000##FFFFFF
##5834AB1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#3D526B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5834ab;
/* rgb */ color: rgb(88, 52, 171);
/* oklch */ color: oklch(44.1% 0.179 291.1);
Tailwind
colors: {
  custom: {
    50: '#8f6ec5',
    500: '#5834ab',
    950: '#000000',
  },
}
SCSS
$custom: #5834ab;
$custom-light: #8f6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#5834ab",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 258.151,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.17876,
    "h": 291.1
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#5834AB
secondary
#ACC279
accent
#DD4BB1
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5834AB

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

Preview Lab → · Contrast checker → · Palette generator →

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