#5834AF#5834AF

#5834AF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.184 H 290.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5834AF
RGBrgb(88, 52, 175)
HSLhsl(258, 54%, 45%)
HSVhsv(258, 70%, 69%)
CMYKcmyk(49.7%, 70.3%, 0%, 31.4%)
CIE-LABlab(33.19, 45.51, -60.01)
CIE-LCHlch(33.19, 75.31, 307.18°)
OKLaboklab(44.4% 0.0637 -0.1721)
OKLCHoklch(44.4% 0.184 290.3)
XYZxyz(12.9881, 7.6253, 41.3366)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834AF #8BAF34
analogous
#344EAF #5834AF #9634AF
triadic
#5834AF #AF5834 #34AF58
tetradic
#5834AF #AF344E #8BAF34 #34AF96
square
#5834AF #AF344E #8BAF34 #34AF96
split-complementary
#5834AF #AF9634 #4EAF34
monochromatic
#291851 #402680 #5834AF #7754CC #9D83DA

Accessibility & contrast

On white

8.32
#5834AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5834AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5834AF#FFFFFF#000000##FFFFFF
##5834AF1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#3B546E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5834af;
/* rgb */ color: rgb(88, 52, 175);
/* oklch */ color: oklch(44.4% 0.184 290.3);
Tailwind
colors: {
  custom: {
    50: '#8f6ec8',
    500: '#5834af',
    950: '#000000',
  },
}
SCSS
$custom: #5834af;
$custom-light: #8f6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5834af",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 257.561,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.18357,
    "h": 290.3
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#5834AF
secondary
#AEC47B
accent
#DE4AB2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5834AF

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

Preview Lab → · Contrast checker → · Palette generator →

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